How can we avoid memory limit execeeded errors?

Revision en1, by visheshgautam.official, 2023-05-30 09:29:19

In this submission :https://mirror.codeforces.com/contest/1775/submission/207782995 I am getting MLE i have scartched my head for hours and its still not resolving,can any comrade help this noob?

Tags memory limit excceded, problem solving, dfs and similar, graphs

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English visheshgautam.official 2023-05-30 09:29:19 237 Initial revision (published)