diff --git a/2020/src/day1.nim b/2020/src/day1.nim index cfef733..7f2668e 100644 --- a/2020/src/day1.nim +++ b/2020/src/day1.nim @@ -1,4 +1,4 @@ -import sets, streams, strutils, options, input_helpers +import sets, streams, strutils, input_helpers # Day 1 diff --git a/2020/src/day2.nim b/2020/src/day2.nim index 080c3ec..5e89862 100644 --- a/2020/src/day2.nim +++ b/2020/src/day2.nim @@ -1,4 +1,4 @@ -import streams, strutils, sequtils, re, options +import streams, strutils, re type PasswordPolicy = tuple[min: int, max: int, keyChar: char] diff --git a/2020/src/day3.nim b/2020/src/day3.nim index 7a4ee8f..2b284a7 100644 --- a/2020/src/day3.nim +++ b/2020/src/day3.nim @@ -1,5 +1,7 @@ import streams +let sledSlope = (3, 1) + proc part1*(s: Stream): int = 0