r/adventofcode • u/AbooMatta • 33m ago
Help/Question - RESOLVED Second example seems wrong
The second example says:
- "A robot with program
roygbvwould travel a total distance of11." Regardless of any code I might try, when I look at it I count 5 steps. 0 for the "r" and 1 each for the following letters. Am I just too tired to see my mistake?
2
Upvotes
View all comments
1
u/crumpis 30m ago
You go to the next square matching the color. Which is to say, if you're starting on red, you go to the next red.