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 1524. Men in Black

if agents are missing
Posted by nikonoff (ONPU) 17 Sep 2009 13:34
If I have such situation that current quest cannot be performed because of all agents are tired or existing agents not able to perform current quest. I skip all incoming quest(s) until new agent(s) are come in organization (or existing agents up their experience to able to perform skipped quest(s)). Then I try to assign new agent(s) to perform skipped quest(s).
Question: can I face with such situation or it is guaranteed that all quests can be performed in the same order they are appear in input (maybe with some lag of course)?
Re: if agents are missing
Posted by nikonoff (ONPU) 17 Sep 2009 19:45
P.S.
And what about if new agent(s) not come in organization but quests still pending at end of input? (maybe this situation is not present in tests)