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 (
"slices"
"strings"
aoc "go.sour.is/advent-of-code-2023"
aoc "go.sour.is/advent-of-code"
)
var log = aoc.Log
@@ -129,7 +129,7 @@ func (lis boxes) Sum() int {
var sum int
for b := range lis {
for s := range lis[b] {
sum += (b+1) * (s+1) * lis[b][s].value
sum += (b + 1) * (s + 1) * lis[b][s].value
}
}
return sum