I spotted that immediately. On paper my code should work, it works with the test case, but doesn't work with my puzzle input. I saw that the test case didn't have any L instruction, so I checked my code under the L case, changed a >= to > and it fixed everything lol.
View all comments
Show parent comment
1
u/BasuKun Dec 12 '20
I spotted that immediately. On paper my code should work, it works with the test case, but doesn't work with my puzzle input. I saw that the test case didn't have any L instruction, so I checked my code under the L case, changed a >= to > and it fixed everything lol.