summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/2023/day10.rs2
-rw-r--r--src/bin/2023/day8.rs2
-rw-r--r--src/bin/2023/day9.rs4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/2023/day10.rs b/src/bin/2023/day10.rs
index 07e9741..68a66a8 100644
--- a/src/bin/2023/day10.rs
+++ b/src/bin/2023/day10.rs
@@ -185,6 +185,6 @@ fn test() {
);
assert_eq!(
part2(parse(parse::data(2023, 10).unwrap()).unwrap()).unwrap(),
- 0
+ 317
);
}
diff --git a/src/bin/2023/day8.rs b/src/bin/2023/day8.rs
index a71c4ed..5137659 100644
--- a/src/bin/2023/day8.rs
+++ b/src/bin/2023/day8.rs
@@ -133,6 +133,6 @@ fn test() {
);
assert_eq!(
part2(parse(parse::data(2023, 8).unwrap()).unwrap()).unwrap(),
- 0
+ 13740108158591
);
}
diff --git a/src/bin/2023/day9.rs b/src/bin/2023/day9.rs
index d04c209..9f5ed85 100644
--- a/src/bin/2023/day9.rs
+++ b/src/bin/2023/day9.rs
@@ -40,10 +40,10 @@ pub fn part2(report: Vec<Vec<i64>>) -> Result<i64> {
fn test() {
assert_eq!(
part1(parse(parse::data(2023, 9).unwrap()).unwrap()).unwrap(),
- 0
+ 1861775706
);
assert_eq!(
part2(parse(parse::data(2023, 9).unwrap()).unwrap()).unwrap(),
- 0
+ 1082
);
}