Function advent::y2017::day2::part1

source ·
pub fn part1(matrix: &[Vec<u32>]) -> u32
Expand description

Calculate the spreadsheet’s checksum. For each row, determine the difference between the largest value and the smallest value; the checksum is the sum of all of these differences.