AoC2022::Day1
Inherits AoC2022::Solver < Reference < Object
Constructors
new(input : String)
SourceInstance methods
list
list is an array of each elf's inventory, e.g. [[1000, 2000, 3000], [4000], [5000, 6000], [7000, 8000, 9000], [10000]]
list=(list : Array(Array(Int64)))
list is an array of each elf's inventory, e.g. [[1000, 2000, 3000], [4000], [5000, 6000], [7000, 8000, 9000], [10000]]
part1
Sourcepart2
Source