Getting memory limit exceeded on Problem E: Number of Simple Paths (Codeforces Round 686: Div3)

Revision en2, by Problems_AB, 2020-12-14 20:13:29

Hi All, I'm getting memory limit exceeded on test 2, when I'm submitting the code. I'm not able to find out the reason. I would be really grateful to you all if someone could help me and tell me why I'm getting memory limit exceeded. TIA Here is my submission: 101191361

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Problems_AB 2020-12-14 20:13:29 0 (published)
en1 English Problems_AB 2020-12-14 20:12:09 381 Initial revision (saved to drafts)