From 4edd4fd104d4ff5f5e118e1327d800ec56fd3087 Mon Sep 17 00:00:00 2001 From: j-james Date: Thu, 3 Dec 2020 17:14:11 -0800 Subject: Add titles to 2020 solutions --- 2020/one.nim | 3 ++- 2020/three.nim | 1 + 2020/two.nim | 1 + 2020/twoFancy.nim | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) (limited to '2020') diff --git a/2020/one.nim b/2020/one.nim index adc7e86..f498907 100644 --- a/2020/one.nim +++ b/2020/one.nim @@ -1,6 +1,7 @@ +# Day One: Report Repair import os, strutils -let input = paramStr(1) +let input: string = paramStr(1) var done: bool = false for one in lines(input): diff --git a/2020/three.nim b/2020/three.nim index 8455783..f10bd0e 100644 --- a/2020/three.nim +++ b/2020/three.nim @@ -1,3 +1,4 @@ +# Day Three: Toboggan Trajectory import os, strutils, std/enumerate let input: string = paramStr(1) diff --git a/2020/two.nim b/2020/two.nim index a2234ab..74bb170 100644 --- a/2020/two.nim +++ b/2020/two.nim @@ -1,3 +1,4 @@ +# Day Two: Password Philosophy import os, strutils let input: string = paramStr(1) diff --git a/2020/twoFancy.nim b/2020/twoFancy.nim index a16ef06..441651a 100644 --- a/2020/twoFancy.nim +++ b/2020/twoFancy.nim @@ -1,3 +1,4 @@ +# Day Two: Password Philosophy import os, strutils, terminal let input = paramStr(1) -- cgit v1.2.3-70-g09d2