aoc::year2018::day18

Function resource_value

Source
fn resource_value(area: &[u64]) -> u32
Expand description

Each tree or lumberyard is represented by a single bit.