class

AoC2022::Day1

Inherits AoC2022::Solver < Reference < Object

Constructors

new(input : String)
Source

Instance methods

list

list is an array of each elf's inventory, e.g. [[1000, 2000, 3000], [4000], [5000, 6000], [7000, 8000, 9000], [10000]]

Source
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]]

Source
part1
Source
part2
Source