About the Question in Edu Round Codeforces

Revision en1, by FreeHit, 2022-08-28 14:19:23

At first seeing question i just got into using bfs on matrix to get minimum distance if possible but cant get to solution with it. can it be done with bfs?? here is link for question- https://codeforces.me/contest/1721/problem/B

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English FreeHit 2022-08-28 14:34:21 947
en2 English FreeHit 2022-08-28 14:32:39 953
en1 English FreeHit 2022-08-28 14:19:23 273 Initial revision (published)