use aoc22::{day14, util}; pub fn main() { let mut cave = day14::parse_cave(&util::parse_input(), false); println!("Initial cave:"); cave.print(); let mut sand = 0; while cave.drop_sand() { sand += 1; } println!("Final cave:"); cave.print(); println!("Total sand dropped: {}", sand); }