HELP! TLE on Cycle In Maze

Revision en1, by cesiumstar, 2024-06-19 23:47:18

Can some one suggest me what optimization can i further do to my code to pass. My last submission is https://codeforces.com/contest/769/submission/266498431 The problem statement is — https://codeforces.com/contest/769/problem/C Thanks :)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English cesiumstar 2024-06-19 23:47:18 275 Initial revision (published)