All Problems
7/10
Calorie Counting
MediumElves carry food items, each with a calorie count. Each elf's inventory is a group of numbers separated by blank lines. Part 1: Find and print the most total calories any single elf is carrying. Part 2: Find and print the total calories carried by the top 3 elves.
Given variables
data: a string of newline-separated numbers, with blank lines between elves
2 test cases
Hit Test to see output...Loading WASM...Docs