Блог пользователя _Sherbiny

Автор _Sherbiny, история, 11 дней назад, По-английски

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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +40
  • Проголосовать: не нравится