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

Alexey Is there anything speciale in tests 13? [2] // Problem 1279. Warehouse 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
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.
This test helped me a lot.

2 2 10
1 3
2 4

Output is: 5