Day 17, part 2

This commit is contained in:
jazzpi
2022-12-20 15:59:53 +01:00
parent 1e7eb12da9
commit 22d9f7c42a
2 changed files with 86 additions and 2 deletions

13
src/bin/d17p2.rs Normal file
View 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)
);
}