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 1193. Queue at the Exam

What answer is good ???
Posted by Nazar Revutsky 30 Mar 2003 20:53
2
100 50 200
100 40 150

40 or 0
********************
2
100 40 150
100 50 200

0 or 40

Thanks
I tried your tests with my AC prog, and found that if more than one student gets ready at the same time, the one with a more previous position takes the exam first. So the first answer is 40, and the second 0.
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 15 Jul 2004 14:39
Re: I tried your tests with my AC prog, and found that if more than one student gets ready at the same time, the one with a more previous position takes the exam first. So the first answer is 40, and the second 0.
Posted by Diac Paul 14 Sep 2004 19:00
"All T1 are distinct.", they say
My ac program says: 40, but it's not a valid test