day 12 part 2

This commit is contained in:
Andy Teijelo 2023-12-15 13:18:24 -05:00
parent 92b37dbfce
commit f458030577

View file

@ -80,7 +80,10 @@ fn main() -> Result<()> {
.map_while(Result::ok)
.collect();
let a = arrangements(conditions, &groups);
let conditions = [conditions].repeat(5).join("?");
let groups = groups.repeat(5);
let a = arrangements(&conditions, &groups);
sum += a;
}
println!("{sum}");