Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Advent::Day23
Constants
DIRECTIONS = { {
Point
.new(-1, -1),
Point
.new(-1, 0),
Point
.new(-1, 1)}, {
Point
.new(1, -1),
Point
.new(1, 0),
Point
.new(1, 1)}, {
Point
.new(-1, -1),
Point
.new(0, -1),
Point
.new(1, -1)}, {
Point
.new(-1, 1),
Point
.new(0, 1),
Point
.new(1, 1)} }
Class methods
parse
(data :
String
) :
Set
(
Point
)
Source
run
Source
solve
(elves :
Set
(
Point
))
Source