Module day02

Source
Expand description

§Cube Conundrum

Structs§

Game

Functions§

parse
Parse each game into the maximum red, green and blue values.
part1
Sum the ids for all valid games.
part2
Sum the product of maximum red, green and blue values.