Please help me to solve 769C "Cycle In Maze"

Revision en1, by codefresher, 2019-02-09 18:21:12

I am getting WA in test case 49....Can anyone help me what's wrong in my logic??? Here is my code---- https://mirror.codeforces.com/contest/769/submission/49667223 Help me plz-----

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English codefresher 2019-02-09 18:21:12 220 Initial revision (published)