Top Level Namespace
Defined in:
Constant Summary
-
COMPLETION_POINTS =
{')' => 1_i64, ']' => 2_i64, '}' => 3_i64, '>' => 4_i64}
-
ERROR_POINTS =
{')' => 3, ']' => 57, '}' => 1197, '>' => 25137}
-
REGEX =
/^(\d+),(\d+)\s->\s(\d+),(\d+)$/
Method Summary
- age_fish(fish : Array(Int8), days : Int32) : Array(Int8)
- age_fish(fish : Hash(Int8, Int64), days : Int32) : Hash(Int8, Int64)
- decode(input, known = nil)
- fill_basin(x, y, index, basins)
- find_paths(cave, paths : Array(Array(String)) = [["start"]]) : Array(Array(String))
- find_paths2(cave, paths : Array(Array(String)) = [["start"]]) : Array(Array(String))
- find_rating(bits, low = false)
- flash(energy : Array(Array(Int8))) : Array(Array(Int8))
- flip(char : Char) : Char
- map_vents(path, diagonal = false)
- overlap(vents)
- parse_complete?(tokens : Array(Char), parents : Array(Char) = [] of Char) : Array(Char) | Nil
- parse_error?(tokens : Array(Char), parents : Array(Char) = [] of Char) : Char | Nil
-
print_map(vents)
print map
- round(num : Float) : Int
Method Detail
def find_paths(cave, paths : Array(Array(String)) = [["start"]]) : Array(Array(String))
#
def find_paths2(cave, paths : Array(Array(String)) = [["start"]]) : Array(Array(String))
#