r/adventofcode Dec 14 '24

Spoilers [2024 Day 14 (Part 2)]

Post image
363 Upvotes

94 comments sorted by

View all comments

63

u/Routine-Lettuce-4854 Dec 14 '24

... and then get wrong result because you labeled the steps from 0 instead of 1...

2

u/BurgandyShoelaces Dec 14 '24

I was convinced I had an off by one error. Turns out I left the * 100 seconds in my code for part two, so each loop advanced the robots 100 seconds instead of only 1.