NEED HELP IN CODEFORCES GRAPH PROBLEM

Правка en1, от javacoder1, 2015-11-10 18:32:12

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 case 10; my code: http://codeforces.net/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)