This commit is contained in:
Jonathan Flueren 2022-12-21 18:08:12 +01:00
parent 93769a8013
commit c09a7236cd
2 changed files with 11 additions and 10 deletions

View file

@ -28,7 +28,6 @@ pub fn solve() {
obsidian_bot: (obs1, obs2),
geode_bot: (geode1, geode2)
}
})
.collect();
}
@ -39,8 +38,10 @@ struct Blueprint {
id: u32,
ore_bot: u32,
clay_bot: u32,
obsidian_bot: (u32, u32), // (ore, clay)
geode_bot: (u32, u32), // (ore, obsidian)
// (ore, clay)
obsidian_bot: (u32, u32),
// (ore, obsidian)
geode_bot: (u32, u32),
}
#[allow(dead_code)]

View file

@ -95,7 +95,7 @@ pub fn solve() {
}
}
let res = monkey_nums.get(ROOT).unwrap();
println!("Result 1: {res}")
println!("Result 1: {res}");
}
#[derive(Debug, Clone)]