mv_29's blog

By mv_29, history, 9 months ago, In English,

Hi, in problem E. "Reachability from the Capital" ("https://codeforces.com/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.com/contest/999/submission/48886017" mine solution -- "https://codeforces.com/contest/999/submission/48883663"

Tags dfs
 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
9 months ago, # |
  Vote: I like it +5 Vote: I do not like it

Try profiling your code...