Function aoc::year2022::day10::part1

source ยท
pub fn part1(input: &[i32]) -> i32
Expand description

Converts between the 0-based indexing produced by the parse function and the 1-based indexing used by the problem statement.