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 1321. Floor Indicator

who can explain me the problem? I am so puzzled!
Posted by Sa Lang Hae 28 Oct 2004 19:53
many thanks
(+)
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 29 Oct 2004 15:15
An niong ha se yo!

Here's the explanation: In order to check which lamps in the elevator are bad, you need to watch it CONTINUOUSLY from some level to some other level. You are to minimize the difference between the two levels. Take the sample for instance -- there are 10 levels in all, and at least you have to start from Floor 2 to Floor 10. So the answer 10-2=8 (not 9) levels.
Re: (+)
Posted by Sa Lang Hae 29 Oct 2004 16:22
Thanks, but could you tell me why we have to start from floor 2 to floor 10?
You notice the lower right lamp -- it is only off when 2 is displayed. And also, the first digit is on only at the 10th floor. So...
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 30 Oct 2004 04:35


Edited by author 30.10.2004 09:48