Python weird memory limit exceeded
Difference between en1 and en2, changed 20 character(s)
This is the problem [problem](https://mirror.codeforces.com/contest/1611/problem/D)↵

This is my solution [solution](https://mirror.codeforces.com/contest/1611/submission/258693967)↵

I think my solution matches some of the answers given by some grandmasters. However I am not able to figure out the reasons for getting MLE. I have only 3 lists of length 200000 each and I am sure this is not the reason for MLE.↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English dsanurag520 2024-04-29 16:18:18 40 Tiny change: 'r MLE.\n\n' -> 'r MLE.\n\nIf anyone can guide me it would be nice.'
en2 English dsanurag520 2024-04-29 16:17:03 20
en1 English dsanurag520 2024-04-29 16:16:31 434 Initial revision (published)