mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 05:40:32 +01:00
Implementation day 7
This commit is contained in:
@@ -19,7 +19,7 @@ fn compute_answers(group: &str) -> Answers {
|
||||
|
||||
fn count_answers_all(group: &str) -> u32 {
|
||||
let combined = group
|
||||
.split('\n')
|
||||
.lines()
|
||||
.map(compute_answers)
|
||||
.fold(0xffff_ffff, |a, b| a & b);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user