Question D of Codeforces Round #787 (Div. 3) .

Revision en2, by bharatim1221, 2022-05-06 21:03:29

Please help me out. I'm getting "Memory Limit exceeded in test 3" in question D of codeforces https://codeforces.com/problemset/problem/1675/D. I can't figure out where I'm doing wrong. Kindly help me out.

I'm attaching my code here. https://codeforces.com/contest/1675/submission/156122315.

Tags codeforces round #787, question d

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English bharatim1221 2022-05-06 21:03:29 1627
en1 English bharatim1221 2022-05-06 21:02:11 1933 Initial revision (published)