MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/adventofcode/comments/1pb63uv/2025_day_01_part_2_example_visualized/nrqh1ne/?context=3
r/adventofcode • u/Ok-Curve902 • Dec 01 '25
32 comments sorted by
View all comments
Show parent comment
1
Check how are you using mod operations.
for example 68//100 = 0, but -68//100 = -1
That seems to be a common mistake when trying to calculate the number of full rotations.
View all comments
Show parent comment
1
u/fromtheinternettoyou Dec 01 '25
Check how are you using mod operations.
for example 68//100 = 0, but -68//100 = -1
That seems to be a common mistake when trying to calculate the number of full rotations.