a.rs (165B)
1 mod common; 2 use common::*; 3 4 fn main() { 5 let e = get_elves_from_stdin(); 6 let m: i64 = e.iter().map(|a| a.iter().sum()).max().unwrap(); 7 println!("{m}"); 8 }
![]() | aocMy solutions for the Advent of Code |
git clone https://git.tronto.net/aoc | |
Download | Log | Files | Refs | README |
a.rs (165B)
1 mod common; 2 use common::*; 3 4 fn main() { 5 let e = get_elves_from_stdin(); 6 let m: i64 = e.iter().map(|a| a.iter().sum()).max().unwrap(); 7 println!("{m}"); 8 }