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 1087. The Time to Take Stones

Test 14
Posted by Stashuk Alex 4 Nov 2006 20:25
Is there any special tricks for this test case?

Maybe there's some problem with limitation. I get CRASH on Test 14 if I set the size of arrays as in task. If I increase the max_val of n to 30000 and k to 300 I get WA.

Edited by author 11.11.2006 21:14
Re: Test 14
Posted by tretyakov[ssau_628] 14 Dec 2006 21:52
My program was WA, while i was thinking that k1<k2<...<km. They don't have to be sorted.