Function aoc::year2022::day11::solve

source ยท
fn solve(
    monkeys: &[Monkey],
    play: impl Fn(&[Monkey], Vec<(usize, u64)>) -> [u64; 8],
) -> u64
Expand description

Convenience wrapper to reuse common logic between part one and two.