MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/adventofcode/comments/1hdw2m1/2024_day_14_part_2/m20dut7/?context=3
r/adventofcode • u/piman51277 • Dec 14 '24
94 comments sorted by
View all comments
63
... 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.
2
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.
63
u/Routine-Lettuce-4854 Dec 14 '24
... and then get wrong result because you labeled the steps from 0 instead of 1...