chore: change module
Some checks failed
Go Bump / bump (push) Failing after 7s
Go Test / build (push) Successful in 33s

This commit is contained in:
xuu
2023-12-15 15:13:24 -07:00
parent a0d852416f
commit b97ecdc93c
17 changed files with 38 additions and 36 deletions

View File

@@ -7,7 +7,7 @@ import (
"sort"
"strings"
aoc "go.sour.is/advent-of-code-2023"
aoc "go.sour.is/advent-of-code"
)
// var log = aoc.Log
@@ -194,4 +194,4 @@ func all(m map[int]bool) []int {
return lis
}
func fromXY(x, y, w int) int { return y*w + x }
func toXY(i, w int) [2]int { return [2]int{i % w, i / w} }
func toXY(i, w int) [2]int { return [2]int{i % w, i / w} }