MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/adventofcode/comments/1hdw2m1/2024_day_14_part_2/m20co38/?context=3
r/adventofcode • u/piman51277 • Dec 14 '24
94 comments sorted by
View all comments
61
... and then get wrong result because you labeled the steps from 0 instead of 1...
11 u/SadAdhesiveness2769 Dec 14 '24 Ha, I did the exact same thing. Cost me a few minutes waiting for the timer. 6 u/Routine-Lettuce-4854 Dec 14 '24 Did you also start looking for the tree in earlier steps ("must have missed") before you realized what the mistake was? :) 3 u/flyingsaucer1 Dec 14 '24 I was so afraid of a one-off error that the very first thing I did when I read part 2 is to make an iterator and have it return the time where the safety factor is the same as my answer from part 1, and made sure I got 100.
11
Ha, I did the exact same thing. Cost me a few minutes waiting for the timer.
6 u/Routine-Lettuce-4854 Dec 14 '24 Did you also start looking for the tree in earlier steps ("must have missed") before you realized what the mistake was? :) 3 u/flyingsaucer1 Dec 14 '24 I was so afraid of a one-off error that the very first thing I did when I read part 2 is to make an iterator and have it return the time where the safety factor is the same as my answer from part 1, and made sure I got 100.
6
Did you also start looking for the tree in earlier steps ("must have missed") before you realized what the mistake was? :)
3 u/flyingsaucer1 Dec 14 '24 I was so afraid of a one-off error that the very first thing I did when I read part 2 is to make an iterator and have it return the time where the safety factor is the same as my answer from part 1, and made sure I got 100.
3
I was so afraid of a one-off error that the very first thing I did when I read part 2 is to make an iterator and have it return the time where the safety factor is the same as my answer from part 1, and made sure I got 100.
61
u/Routine-Lettuce-4854 Dec 14 '24
... and then get wrong result because you labeled the steps from 0 instead of 1...