Rustfmt
This commit is contained in:
parent
93769a8013
commit
c09a7236cd
2 changed files with 11 additions and 10 deletions
|
@ -28,7 +28,6 @@ pub fn solve() {
|
||||||
obsidian_bot: (obs1, obs2),
|
obsidian_bot: (obs1, obs2),
|
||||||
geode_bot: (geode1, geode2)
|
geode_bot: (geode1, geode2)
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
}
|
}
|
||||||
|
@ -39,8 +38,10 @@ struct Blueprint {
|
||||||
id: u32,
|
id: u32,
|
||||||
ore_bot: u32,
|
ore_bot: u32,
|
||||||
clay_bot: u32,
|
clay_bot: u32,
|
||||||
obsidian_bot: (u32, u32), // (ore, clay)
|
// (ore, clay)
|
||||||
geode_bot: (u32, u32), // (ore, obsidian)
|
obsidian_bot: (u32, u32),
|
||||||
|
// (ore, obsidian)
|
||||||
|
geode_bot: (u32, u32),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
|
|
@ -95,7 +95,7 @@ pub fn solve() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let res = monkey_nums.get(ROOT).unwrap();
|
let res = monkey_nums.get(ROOT).unwrap();
|
||||||
println!("Result 1: {res}")
|
println!("Result 1: {res}");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
|
Loading…
Reference in a new issue