time limit exceeded

Revision en1, by mv_29, 2019-01-24 15:29:38

Hi, in problem E. "Reachability from the Capital" ("https://codeforces.me/contest/999/problem/E") me and author are having the same solution but the autor solution got accepted and mine got time limit exceeded and i am not able to find the solution for it , can someone help me with this solution

authors solution -- "https://codeforces.me/contest/999/submission/48886017" mine solution -- "https://codeforces.me/contest/999/submission/48883663"

Tags dfs

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mv_29 2019-01-24 15:29:38 471 Initial revision (published)