commit 0d6e1bc99a6908b32a2207dd09ba276b7b9ec077
parent 475e486872d1f25f7e44d4a3cd7fd5d312d2db30
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Thu, 3 Dec 2020 19:38:33 -0600
Add answers
Diffstat:
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/2020/day01/main.go b/2020/day01/main.go
@@ -21,7 +21,9 @@ func readInput(filename string) (res []int) {
func main() {
input := readInput("./input.txt")
+ // 514579
fmt.Println(part1(input))
+ // 116115990
fmt.Println(part2(input))
}
diff --git a/2020/day02/main.go b/2020/day02/main.go
@@ -21,7 +21,9 @@ func readInput(filename string) (res []string) {
func main() {
input := readInput("./input.txt")
+ // 603
fmt.Println(part1(input))
+ // 404
fmt.Println(part2(input))
}
diff --git a/2020/day03/main.go b/2020/day03/main.go
@@ -18,7 +18,9 @@ func readInput(filename string) (res []string) {
func main() {
input := readInput("./input.txt")
+ // 240
fmt.Println(part1(input))
+ // 2832009600
fmt.Println(part2(input))
}