This commit is contained in:
Max Bradbury 2022-12-01 21:41:54 +00:00
parent 48d2e0ab62
commit 3704179238
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
pub fn part_1(input: &String) -> String {
pub fn part_1(input: &String) -> u64 {
let elves: Vec<&str> = input.split("\n\n").collect();
let mut highest_calorie_count: u64 = 0;
@ -15,7 +15,7 @@ pub fn part_1(input: &String) -> String {
}
}
format!("{highest_calorie_count}")
highest_calorie_count
}
pub fn part_2(input: &String) -> u64 {