test day 1

This commit is contained in:
nora 2023-12-03 13:14:28 +01:00
parent 7be7e7c549
commit 13ac9a70ce
9 changed files with 107 additions and 18 deletions

View file

@ -1,4 +1,4 @@
pub unsafe fn part2(input: &str) {
pub unsafe fn part2(input: &str) -> u64 {
let mut sum = 0;
let bytes = input.as_bytes();
@ -152,5 +152,5 @@ pub unsafe fn part2(input: &str) {
line_idx += 1;
}
println!("part2: {sum}");
sum
}