10 lines
222 B
Rust
10 lines
222 B
Rust
use aoc22::day1;
|
|
use aoc22::util;
|
|
|
|
fn main() {
|
|
let elves = day1::parse_elves(&util::parse_input());
|
|
|
|
let max = elves.iter().max().unwrap();
|
|
println!("The elf with the most calories is carrying {} cal", max);
|
|
}
|