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 1364. LaraKiller

wa on 6 test!!!
Posted by Artem Ladik 16 Aug 2008 01:17
Re: wa on 6 test!!!
Posted by RASTA 19 Mar 2009 15:10
check some tests
input
5 5
1 5
1 3
0
output
1 3

input
5 5
1 5
1 3
10000000
output
1 1
1 2
1 3
1 4
1 5

input
100 100
51 50
1 1
1000000
output
1 1
1 2
...
51 51
51 50
#10000 points

input
2 100
2 1
1 1
100000
output
1 1
1 2
...
1 99
1 100
2 100
2 99
...
2 2
2 1
#200 points
Re: wa on 6 test!!!
Posted by MOPDOBOPOT (USU) 2 Aug 2012 16:36
Just check more carefully borders you print!
For example (Lara's position - T) can be less or equal to zero. Try this test:

2 2
2 1
2 1
4