diff options
author | j-james | 2020-12-04 01:14:11 +0000 |
---|---|---|
committer | j-james | 2020-12-04 01:14:11 +0000 |
commit | 4edd4fd104d4ff5f5e118e1327d800ec56fd3087 (patch) | |
tree | b65d86e423ece95be2836501192681153dc2b76e /2020 | |
parent | f43e27cd290b652bdcf46c88fdf0bac585d7d58c (diff) |
Add titles to 2020 solutions
Diffstat (limited to '2020')
-rw-r--r-- | 2020/one.nim | 3 | ||||
-rw-r--r-- | 2020/three.nim | 1 | ||||
-rw-r--r-- | 2020/two.nim | 1 | ||||
-rw-r--r-- | 2020/twoFancy.nim | 1 |
4 files changed, 5 insertions, 1 deletions
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) |