Solution to submarine navigation

This commit is contained in:
2021-12-02 14:01:30 +00:00
parent d41d58d2cf
commit 95b0635e7a
5 changed files with 1209 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import (
"strings"
"unsupervised.ca/aoc2021/one"
"unsupervised.ca/aoc2021/two"
)
func main() {
@@ -25,6 +26,8 @@ func main() {
switch flagParts[1] {
case "one":
day = one.Init("one/input.txt")
case "two":
day = two.Init("two/input.txt")
default:
fmt.Printf("%q does not have a solution.\n", flagParts[1])
help()