2023 Day 17 Complete
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"../../"
|
||||
h "git.bullercodeworks.com/brian/adventofcode/helpers"
|
||||
)
|
||||
|
||||
var gridWidth, gridHeight int
|
||||
@@ -19,8 +19,8 @@ func main() {
|
||||
}
|
||||
passcode = os.Args[1]
|
||||
if len(os.Args) >= 4 {
|
||||
gridWidth = aoc.Atoi(os.Args[2])
|
||||
gridHeight = aoc.Atoi(os.Args[3])
|
||||
gridWidth = h.Atoi(os.Args[2])
|
||||
gridHeight = h.Atoi(os.Args[3])
|
||||
}
|
||||
foundPaths := findPaths("", passcode)
|
||||
if len(foundPaths) == 0 {
|
||||
|
Reference in New Issue
Block a user