Function aoc::year2016::day16::count

source ยท
fn count(ones: &[usize], length: usize) -> usize
Expand description

Counts the number of ones from the start to the index (inclusive).