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 1377. Lara Croft

I have WA5. Please check my tests
Posted by <-UnderFelixAbove-> 26 Aug 2007 15:48
I don't know what problem in my program. That's why I ask you to check my tests:

100 100
1 1
50 50
9996

100 100
5 3
65 34
7783

5 6
1 1
5 6
9

2 2
1 2
2 1
1

5 5
1 1
3 3
24

I am waiting your comments. Thank you.
Re: I have WA5. Please check my tests
Posted by M@STeR.SoBG 27 Aug 2007 02:57
Hello! The answer for this test:

2 2
1 2
2 1

is "2", but your answer is "1".
Good luck!
Re: I have WA5. Please check my tests
Posted by <-UnderFelixAbove-> 27 Aug 2007 20:41
Thank you Master!
I'm so careless)).
Re: I have WA5. Please check my tests
Posted by Artem Khizha [DNU] 25 Jul 2011 02:17
Btw, in test #5 N = M = 100. I made inaccurate array definition and get this information. :)
Re: I have WA5. Please check my tests
Posted by THandle 9 Oct 2012 08:46
My program didn't pass #5 test, because not correctly process the case when N = 2, M > 2 or M = 2, N > 2.