Function aoc::y24d01::y24d01p1

source ·
pub fn y24d01p1(input: &str) -> u32
Expand description

The solution for part one of the day one challenge.

TODO

§Example

// probably read this from the input file...
let input = concat!(
    "1   2\n",
    "3   4",
);
assert_eq!(y24d01p1(input), 2);