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

Common Board

1037 wa
Posted by BBNS 31 Oct 2000 17:17
is there any trick inside?
it seems easy...but i always get wrong answer...@@
Re: 1037 wa
Posted by OVD 31 Oct 2000 19:32
What data structure do you use?
I wrote
(heap of free) + (double linked list sorted by access time)
very quickly, but probably wrong.
Is there a simplier way?
Re: 1037 wa
Posted by Jivko Ganev 31 Oct 2000 22:21
I used 2 heaps (of free and of access times) dynamicaly
changing the heap of access times when needed with
reference table array.(it worked)