Files
aoc22/src/bin/d1p1.rs
2022-12-13 13:47:31 +01:00

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);
}