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 1037. Memory Management

HELP!
Posted by Roger 7 Jun 2001 12:11
1 +
1 +
1 +
2 . 2
2 . 3
3 . 30000
601 . 1
601 . 2
602 . 3
602 +
602 +
1202 . 2

Why the request 601.1 is fail and 601.2 is
successful,what's the difference?

Thank you!
Re: HELP!
Posted by Andrey Popyk (popyk@ief.tup.km.ua) 7 Jun 2001 18:39
10 min = 600 sec

601 . 1
last access to [1] was at 1sec ( 1 + )
601-1=600
answer -

601 . 2
last acces to [2] was at 2sec ( 2 . 2 )
601-2=599 < 600
answer +

Good luck!
Thanks
Posted by Roger 9 Jun 2001 18:41