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 1415. Mobile Life

Question(+)
Posted by Safe Bird 29 May 2006 16:38
If the signal is just turning red, and at the same time, another signal from for example indigo->blue

I should write:

colorchanged, RED
stationchanged, INDIGO
colorchanged, BLUE

or directly

colorchanged, RED
stationchanged, BLUE

?
Re: Question(+)
Posted by KAV 29 May 2006 21:19
I think, the last variant is right.
Because when you disconnect from the station, distance from another station (where you connect) becomes EQUAL to BLUE_DISTANCE, and INDIGO is when this distance is LESS.
Re: Question(+)
Posted by Vladimir Yakovlev (USU) 4 Jun 2006 22:21
There are no such tests
If the signal is just turning red, then the distance to the closest signal change curve of the most powerful station is at least 10e-4*R, where R is the threshold distance of this station.