Skip to content

Commit e097343

Browse files
author
Liz Fong-Jones
committed
Reverted something that made it even more astronomically inefficient.
1 parent 11427e9 commit e097343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2017/day17.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func main() {
1717

1818
r := start
1919
for i := 1; i < *iterations+1; i++ {
20-
for s := 0; s < *steps%r.Len(); s++ {
20+
for s := 0; s < *steps; s++ {
2121
r = r.Next()
2222
}
2323
insert := ring.New(1)

0 commit comments

Comments
 (0)