Module day02
aoc
2024.12.25
Module day02
Sections
Cube Conundrum
Module Items
Structs
Functions
In aoc::
year2023
Modules
day01
day02
day03
day04
day05
day06
day07
day08
day09
day10
day11
day12
day13
day14
day15
day16
day17
day18
day19
day20
day21
day22
day23
day24
day25
aoc
::
year2023
Module
day02
Copy item path
Settings
Help
Summary
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.