commit 217a2106aa01d3cff5c075564c48d0730c857348
parent 0baacfcc9ae0425302b6bbf2c826fafb9e7f8629
Author: Louis Burda <quent.burda@gmail.com>
Date: Thu, 20 Apr 2023 02:50:16 +0200
[Day 20] Add missing solution
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/20/src/main.rs b/src/20/src/main.rs
@@ -85,7 +85,7 @@ fn part1(aoc: &mut aoc::Info) {
let answer = map.iter().filter(|(_,&v)| v).count();
aoc.answer = Some(format!("{}", answer));
- aoc.solution = Some("5617");
+ aoc.solution = Some("5619");
}
fn part2(aoc: &mut aoc::Info) {
@@ -93,8 +93,8 @@ fn part2(aoc: &mut aoc::Info) {
let map = enhance_n(map, &lut, 50);
let answer = map.iter().filter(|(_,&v)| v).count();
- aoc.answer = Some(format!("{}", answer));
- // aoc.solution = "
+ aoc.answer = Some(format!("{}", answer));
+ aoc.solution = Some("20122");
}
fn main() {