Day 17, part 2
This commit is contained in:
13
src/bin/d17p2.rs
Normal file
13
src/bin/d17p2.rs
Normal file
@ -0,0 +1,13 @@
|
||||
use aoc22::{day17, util};
|
||||
|
||||
const BLOCKS: usize = 1_000_000_000_000;
|
||||
|
||||
pub fn main() {
|
||||
let jets = day17::parse_jets(&util::parse_input());
|
||||
|
||||
println!(
|
||||
"Height after {} blocks: {}",
|
||||
BLOCKS,
|
||||
day17::do_moves(&jets, BLOCKS)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user