Skip to content

Commit 6d4f9b5

Browse files
committed
Use u64 to represent solution
Some puzzles have solutions which are too large for `u32`s.
1 parent 36608db commit 6d4f9b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/template.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
advent_of_code::solution!(%DAY_NUMBER%);
22

3-
pub fn part_one(input: &str) -> Option<u32> {
3+
pub fn part_one(input: &str) -> Option<u64> {
44
None
55
}
66

7-
pub fn part_two(input: &str) -> Option<u32> {
7+
pub fn part_two(input: &str) -> Option<u64> {
88
None
99
}
1010

0 commit comments

Comments
 (0)