NEED HELP IN CODEFORCES GRAPH PROBLEM

Правка en3, от javacoder1, 2015-11-10 20:26:14

Hey i was trying to solve King's Path on codeforces http://mirror.codeforces.com/problemset/problem/242/C but i am getting wrong answer on test 10; my code: http://mirror.codeforces.com/contest/242/submission/14186492

Can anyone point my mistake? Thanks.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский javacoder1 2015-11-10 20:26:14 0 (published)
en2 Английский javacoder1 2015-11-10 20:19:17 6 Tiny change: 'answer on case 10;\nmy c' -> 'answer on test 10;\nmy c' (saved to drafts)
en1 Английский javacoder1 2015-11-10 18:32:12 285 Initial revision (published)