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

Tkach Andriy Please, give me some test. I have #WA_4. [3] // Problem 1377. Lara Croft 8 Jul 2006 23:18
Igor Goroshko Re: Please, give me some test. I have #WA_4. [1] // Problem 1377. Lara Croft 9 Jul 2006 09:52
Here are some tests:

5 6
1 1
1 2
Answer: 1

5 6
1 2
2 6
Answer: 5

5 6
1 5
2 6
Answer: 2

5 6
1 5
1 2
Answer: 3 (Here I think you may have WA, because second point occur first)

5 6
2 3
3 3
Answer: 9

Good Luck!!!
Harhro94 [Hrayr Harutyunyan] Re: Please, give me some test. I have #WA_4. // Problem 1377. Lara Croft 15 Jul 2011 10:03
My prog passes all of this test but still wa4.why?
Test 4 contains (1,1) as second point imho.