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 1299. Psylonians

Hint
Posted by Danica Porobic 18 Aug 2004 23:08
In patrolling mode when if angle is in range -20..20 then
robot should move front and if angle is greater than 160 or less then -159 backward. This fact costed me 15 submissions. Hope it will help someone.
Re: Hint
Posted by Anton Chaplygin[Kungur,Perm kray] 13 Jun 2011 20:27
>>if angle is greater than 160 or less then -159 backward
You aren't right.  Angle must be >= 160 or < -159 (<= -160).
I fixed this and got AC.