One Solution Giving AC and other TLE : SPOJ : NAKANJ — Minimum Knight moves !!!

Revision en5, by shubhamphpefy, 2024-05-16 20:59:33

I submitted below codes for one I got AC and for Other TLE. I am unable to find how its happening. Please Help.

AC Submission
TLE Submission
Tags graph, bfs, spoj, codeforces

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English shubhamphpefy 2024-05-16 21:01:45 72
en5 English shubhamphpefy 2024-05-16 20:59:33 11 Tiny change: 's for one among them I got AC ' -> 's for one I got AC '
en4 English shubhamphpefy 2024-05-16 20:58:38 24
en3 English shubhamphpefy 2024-05-16 20:57:59 6
en2 English shubhamphpefy 2024-05-16 20:56:59 22
en1 English shubhamphpefy 2024-05-16 20:54:59 3302 Initial revision (published)