Update code to use advent lib.

This commit is contained in:
2020-12-05 16:06:51 -08:00
parent e9d0701b4c
commit 479b1d745e
7 changed files with 14 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
require "./passports.cr"
INPUT = File.read("day4.txt")
require "advent"
INPUT = input(2020, 4)
def part1
input = INPUT.clone