Skip to content

Commit

Permalink
Use u64 to represent solution
Browse files Browse the repository at this point in the history
Some puzzles have solutions which are too large for `u32`s.
  • Loading branch information
penelopeysm committed Dec 11, 2024
1 parent 36608db commit 6d4f9b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/template.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
advent_of_code::solution!(%DAY_NUMBER%);

pub fn part_one(input: &str) -> Option<u32> {
pub fn part_one(input: &str) -> Option<u64> {
None
}

pub fn part_two(input: &str) -> Option<u32> {
pub fn part_two(input: &str) -> Option<u64> {
None
}

Expand Down

0 comments on commit 6d4f9b5

Please sign in to comment.