_Sherbiny's blog

By _Sherbiny, history, 11 days ago, In English

Hi, I wanted to share something weird that happened to me in the previous round.

After about an hour, I submitted this code for problem D: Submission 306394465

I knew the code had high memory and time complexity, but I was confident it would pass given the constraints. However, I received a Memory Limit Exceeded (MLE) verdict.

After the round, I resubmitted the exact same code using C++ 17, and it passed—with a huge difference in memory usage!

Submission 306462649

I just wanted to share this random incident and ask if anyone knows the reason behind it.

Full text and comments »

  • Vote: I like it
  • +40
  • Vote: I do not like it