aoc::year2020::day17

Function boot_process

Source
fn boot_process(
    input: &Grid<u8>,
    size: i32,
    base: i32,
    fourth_dimension: &[i32],
) -> usize
Expand description

Re-use logic between both parts.