Memory Limit Exceed
How can I calculate memory of a program to avoid MLE? Thanks!
Codeforces Round 1096 Solution Discussion