In today's Round #449, I received a MLE verdict on C in system testing. At first, I thought it was because of how much stack space I allocated. But Java should allocate memory as necessary, and I was only using it for recursion, so I found it odd that I would MLE.
So, I resubmitted my code and made the following change:
That code was accepted. No change was made other than the addition of the comment. The two submissions are listed below for reference. MikeMirzayanov, what's good?
MLE: http://mirror.codeforces.com/contest/897/submission/32866893
AC: http://mirror.codeforces.com/contest/897/submission/32880052