|  | 
|  | 
| back to board | WA 18 Posted by _I_  28 Oct 2006 12:54please give test case!i checked all test case which came to my mind.
 thanks
Re: WA 18 Posted by svr  28 Oct 2006 13:25Try this. I used my AC6 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 Thanks a lot. I forgot about singular cases and had WA #13.Re: WA 18 why6 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 hit is not a step. 3 steps to adjacent cell with monsterRe: WA 18 Then why the answer for the sample test3 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 Sorry, it was my mistake, your explanation is correct | 
 | 
|