Use trees crate

This commit is contained in:
jazzpi
2022-12-21 17:51:41 +01:00
parent 9b42768fdb
commit ec5b46d793
4 changed files with 42 additions and 15 deletions

View File

@ -3,5 +3,5 @@ use aoc22::{day21, util};
pub fn main() {
let monkeys = day21::parse_monkeys(&util::parse_input());
println!("root yells: {}", day21::yell(&monkeys, "root"));
println!("root yells: {}", day21::yell(monkeys.root()));
}