module AdventOfCode2021::Day20

Extended Modules

Defined in:

day20/day20.cr

Constant Summary

DAY = 20

Instance Method Summary

Instance Method Detail

def main #

[View source]
def parse_input(input : String) : Tuple(Array(Int32), Array(Array(Int32))) #

[View source]
def print_pic(pic) #

[View source]
def repeat_enchance(enchancer, pic, count) #

[View source]
def solution1(enchancer : Array(Int32), pic : Array(Array(Int32))) : Int32 #

[View source]
def solution2(enchancer : Array(Int32), pic : Array(Array(Int32))) : Int32 #

[View source]