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 1279. Warehouse

Is there anything speciale in tests 13?
Posted by Alexey 9 May 2006 22:53
When I wrote my first version, I had TLE#13.
I optimize it - Crash#13.
Help me with tests or hints. Please.
Thanks.

Edited by author 10.05.2006 20:37
Re: Is there anything speciale in tests 13?
Posted by ASK 8 Mar 2010 02:29
I guess in this test one needs to add to the largest section (and N*M is not very small) -- I had a problem with 1e8 sentinel.
Re: Is there anything speciale in tests 13?
Posted by MAK 13 Apr 2010 12:58
This test helped me a lot.

2 2 10
1 3
2 4

Output is: 5