2023 Day 17 Complete
This commit is contained in:
@@ -5,15 +5,15 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"../../"
|
||||
h "git.bullercodeworks.com/brian/adventofcode/helpers"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) < 3 {
|
||||
fmt.Println("Usage: ./day18 <filename> <numrows>")
|
||||
}
|
||||
input := aoc.FileToBytes(os.Args[1])
|
||||
numRows := aoc.Atoi(os.Args[2])
|
||||
input := h.FileToBytes(os.Args[1])
|
||||
numRows := h.Atoi(os.Args[2])
|
||||
|
||||
room := [][]byte{input}
|
||||
for row := 1; row < numRows; row++ {
|
||||
|
Reference in New Issue
Block a user