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 1498. Stroke at Full Speed

WA 18
Posted by _I_ 28 Oct 2006 12:54
please give test case!
i checked all test case which came to my mind.
thanks
Re: WA 18
Posted by svr 28 Oct 2006 13:25
Try this. I used my AC
6 1 8
6 1
5 1
ans 1
6 1 6
4 1
5 1
ans 4
6 2 8
6 2
5 2
ans 4
6 2 10
6 2
5 2
ans 5
Re: WA 18
Posted by Partisan 25 Jun 2009 19:12
Thanks a lot. I forgot about singular cases and had WA #13.
Re: WA 18
Posted by Andrew_Makar 1 Apr 2010 01:03
why
6 1 6
4 1
5 1
ans 4?
we go to the cell(1,1) (3 moves) and then to the cell(4,1) (3 moves) and hit. k=4 so ans is 5. what's wrong?

Edited by author 01.04.2010 02:00
Re: WA 18
Posted by Oleg Strekalovsky [Vologda SPU] 21 Jul 2010 21:04
hit is not a step. 3 steps to adjacent cell with monster
Re: WA 18
Posted by Lucian Ilea 4 Dec 2011 16:30
Then why the answer for the sample test
3 4 4
1 1
3 4
is 4 ??
According with your explanation it should be 3, instead 4
Easy problem but difficult language !!
Re: WA 18
Posted by Lucian Ilea 4 Dec 2011 17:54
Sorry, it was my mistake, your explanation is correct
Re: WA 18
Posted by DILSHOD7775 7 Dec 2011 14:09
ans 5