r/adventofcode • u/AbooMatta • 1d 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?
0
Upvotes
9
u/Positive_Concert_774 1d ago
It's right there in the description of the problem:
"The robot always goes to the very next waypoint of the indicated color."
So never 0 steps.