day 12 part 2
parent
92b37dbfce
commit
f458030577
|
@ -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}");
|
||||
|
|
Loading…
Reference in New Issue