ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2099. Space Invader

WA5
Posted by die_young 30 Jul 2018 23:38
Check  that you indeed turn after reaching point B, i.e. that intersection point is not between A and B or you don't even reach B.
Re: WA5
Posted by roman velichkin 5 Oct 2023 13:45
There is something else. My code checks turning before B but still got WA on #5.
Re: WA5
Posted by roman velichkin 5 Oct 2023 14:21
Spaceship can go only forward, so check - there shouldn't be any backward movement. Test #5 is about that.

Edited by author 05.10.2023 14:33