diff --git a/day14p2/solution.go b/day14p2/solution.go index 8181f98..9d6a87b 100644 --- a/day14p2/solution.go +++ b/day14p2/solution.go @@ -36,7 +36,7 @@ func Solve(r io.Reader) any { tiltCycle(&platform) cs := platform.checkSum() if v, ok := checksums[cs]; ok && looking { - interval := v - i + interval := i - v start := v span := maxiter - start ncycles := span / interval