Skip to content

Commit a1d3e0a

Browse files
committed
Day 21
1 parent 7e61ed5 commit a1d3e0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.
3131
| [Day 18](./src/bin/18.rs) | `49.6µs` | `58.9µs` |
3232
| [Day 19](./src/bin/19.rs) | `204.0µs` | `693.5µs` |
3333
| [Day 20](./src/bin/20.rs) | `308.3µs` | `1.8ms` |
34-
| [Day 21](./src/bin/21.rs) | `11.0µs` | `109.7µs` |
34+
| [Day 21](./src/bin/21.rs) | `10.9µs` | `112.6µs` |
3535

3636
**Total: 16.69ms**
3737
<!--- benchmarking table --->

src/bin/21.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ pub fn part_one(input: &str) -> Option<u64> {
207207
}
208208

209209
pub fn part_two(input: &str) -> Option<u64> {
210-
Some(solve(input, 25))
210+
Some(solve(input, 26))
211211
}
212212

213213
#[cfg(test)]
@@ -223,6 +223,6 @@ mod tests {
223223
#[test]
224224
fn test_part_two() {
225225
let result = part_two(&advent_of_code::template::read_file("examples", DAY));
226-
assert_eq!(result, Some(61952932092390));
226+
assert_eq!(result, Some(154115708116294));
227227
}
228228
}

0 commit comments

Comments
 (0)