Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
aoc2018
master
Day
Day1
Day10
Map
Point
Day11
ItemType
Day12
Board
Day13
Cart
Dir
Map
Road
Turn
Day14
Day15
CellType
Map
Option
Point
Side
Unit
WavePoint
Day16
CPU
MachWord
OpCode
Operation
Day17
CellType
FillStatus
Flow
Line
Map
Day18
Cell
Map
Day19
CPU
Day2
Day20
JustPoint
Position
Day22
Position
Surface
Terrain
Tool
Day23
Bot
Day24
Battle
Element
Group
Side
UnitType
Day25
Star
Day3
IntersectType
MyAABB
Rect
Day4
Event
EventType
HourData
Day5
LinkedList
Day6
Map
Day7
Machine
Day8
Node
Day9
CircleNode
DayN
StaticArray
Generated using Crystal 1.14.0
2024-11-26 18:43:47 UTC
module
Day24
Included Modules
Day
Extended Modules
Day24
Defined in:
day24.cr
Constant Summary
ELEMENTS
=
[]
of
String
Instance Method Summary
#part1
(input)
#part2
(input)
#string2element
(astring) : Element
Instance methods inherited from module
Day
run
run
,
test1(input)
test1
,
test2(input)
test2
Instance Method Detail
def
part1
(input)
#
[
View source
]
def
part2
(input)
#
[
View source
]
def
string2element
(astring) :
Element
#
[
View source
]