aoc-2021-rust

git clone https://git.sinitax.com/sinitax/aoc-2021-rust
Log | Files | Refs | README | sfeed.txt

commit 2703ebecc972deca76a4737ebadd1554100ff296
parent c8bc42ff2d9e9aa8eaa1c067d1a9fbf85af1254b
Author: Louis Burda <quent.burda@gmail.com>
Date:   Thu, 13 Apr 2023 23:40:42 -0400

Add missing solution checks

Diffstat:
Msrc/12/src/main.rs | 1+
Msrc/14/src/main.rs | 1+
Msrc/15/src/main.rs | 2+-
3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/12/src/main.rs b/src/12/src/main.rs @@ -134,6 +134,7 @@ fn part2(aoc: &mut aoc::Info) { } aoc.answer = Some(format!("{}", pathcnt)); + aoc.solution = Some("128506"); } fn main() { diff --git a/src/14/src/main.rs b/src/14/src/main.rs @@ -138,6 +138,7 @@ fn part2(aoc: &mut aoc::Info) { debugln!("min {} -> {}", min.0, min.1); aoc.answer = Some(format!("{}", max.1 - min.1)); + aoc.solution = Some("2884513602164"); } fn main() { diff --git a/src/15/src/main.rs b/src/15/src/main.rs @@ -104,7 +104,7 @@ fn part2(aoc: &mut aoc::Info) { let dist = djk_min(&map, start, end); aoc.answer = Some(format!("{}", dist)); - aoc.solution = Some(""); + aoc.solution = Some("2952"); } fn main() {