Back to General discussions forum
I was a bit puzzled that even the seemingly correct pairs of numbers where marked as 'wrong', until I read the task again from the beginning.
Checker is correct, I fixed errors in my code and solved this task with two different approaches.
I count 6 steps (but might be wrong):
0 844077 76509
1 76509 2478
2 2478 2169
3 2169 309
4 309 6
5 6 3
6 3 0
Yeah, gardengnome, you are correct, my initial code counted (76509, 844077) -> (844077, 76509) as one more step, hence the wrong answer I provided.