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

wTw WA 18 [7] // Problem 1498. Stroke at Full Speed 28 Oct 2006 12:54
please give test case!
i checked all test case which came to my mind.
thanks
svr Re: WA 18 [6] // Problem 1498. Stroke at Full Speed 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
Partisan Re: WA 18 // Problem 1498. Stroke at Full Speed 25 Jun 2009 19:12
Thanks a lot. I forgot about singular cases and had WA #13.
Andrew_Makar [Lviv NU] [Timus Battle] Re: WA 18 [4] // Problem 1498. Stroke at Full Speed 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
Oleg Strekalovsky [Retired] Re: WA 18 [3] // Problem 1498. Stroke at Full Speed 21 Jul 2010 21:04
hit is not a step. 3 steps to adjacent cell with monster
Lucian Ilea Re: WA 18 [2] // Problem 1498. Stroke at Full Speed 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 !!
Lucian Ilea Re: WA 18 [1] // Problem 1498. Stroke at Full Speed 4 Dec 2011 17:54
Sorry, it was my mistake, your explanation is correct
DILSHOD7775 Re: WA 18 // Problem 1498. Stroke at Full Speed 7 Dec 2011 14:09
ans 5