From 17492a8c23ac3d5dd3eeba7a29ac61e846e76319 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 11 Dec 2020 11:32:12 -0800 Subject: [PATCH] Make changes to the template. --- template.cr | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/template.cr b/template.cr index 3f209c6..9a264b1 100644 --- a/template.cr +++ b/template.cr @@ -1,13 +1,11 @@ require "advent" -INPUT = input(2020, n)#.lines.map(&.chomp) +INPUT = input(2020, n)#.lines.map(&.to_i32) -def part1 - input = INPUT.clone +def part1(input) end -def part2 - input = INPUT.clone +def part2(input) end -part1 -part2 +puts part1(INPUT.clone) +puts part2(INPUT.clone)