day 12 part 2
This commit is contained in:
parent
92b37dbfce
commit
f458030577
1 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,10 @@ fn main() -> Result<()> {
|
||||||
.map_while(Result::ok)
|
.map_while(Result::ok)
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let a = arrangements(conditions, &groups);
|
let conditions = [conditions].repeat(5).join("?");
|
||||||
|
let groups = groups.repeat(5);
|
||||||
|
|
||||||
|
let a = arrangements(&conditions, &groups);
|
||||||
sum += a;
|
sum += a;
|
||||||
}
|
}
|
||||||
println!("{sum}");
|
println!("{sum}");
|
||||||
|
|
Loading…
Reference in a new issue