module Advent::Day23

Defined in:

day23.cr

Constant Summary

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 Method Summary

Class Method Detail

def self.parse(data : String) : Set(Point) #

[View source]
def self.run #

[View source]
def self.solve(elves : Set(Point)) #

[View source]