Hey i was trying to solve King's Path on codeforces http://codeforces.net/problemset/problem/242/C↵
but i am getting wrong answer on test 10;↵
my code:↵
http://codeforces.net/contest/242/submission/14186492↵
↵
Can anyone point my mistake? ↵
Thanks.
but i am getting wrong answer on test 10;↵
my code:↵
http://codeforces.net/contest/242/submission/14186492↵
↵
Can anyone point my mistake? ↵
Thanks.