Use u64 to represent solution

Some puzzles have solutions which are too large for `u32`s.
This commit is contained in:
Penelope Yong
2024-12-11 11:34:34 +00:00
parent 36608db7b3
commit 6d4f9b50c8

View File

@@ -1,10 +1,10 @@
advent_of_code::solution!(%DAY_NUMBER%); advent_of_code::solution!(%DAY_NUMBER%);
pub fn part_one(input: &str) -> Option<u32> { pub fn part_one(input: &str) -> Option<u64> {
None None
} }
pub fn part_two(input: &str) -> Option<u32> { pub fn part_two(input: &str) -> Option<u64> {
None None
} }