Function aoc::year2022::day02::part1

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

Map each index to a score using a small precomputed lookup table.