Here is the problem Statement: http://lightoj.com/volume_showproblem.php?problem=1024
Here is my solution : https://paste.ubuntu.com/p/gCkCbM3PMv/
Why am I getting MLE ?
Here is the problem Statement: http://lightoj.com/volume_showproblem.php?problem=1024
Here is my solution : https://paste.ubuntu.com/p/gCkCbM3PMv/