Robogame help

Could anyone explain what’s wrong with this code ?
I have run it against 30k test cases and it looks ok.

Tkank you for your explanation.

Here is the code with test cases: https://ideone.com/loGTuM

Looking at your case #29, ..1...2... should be marked safe. The two robots cannot collide, as they can never reach the same position.

Cases #6, 50, 137, 144, 163 are also wrongly called unsafe, on a brief inspection.

//