Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Strange Memory Limit Exceeded Error

Правка en1, от wfe2017, 2016-08-08 13:51:12

I was looking at my previous codes and I noticed a very strange Memory Limit Exceeded Error. The error occurred on test case 24, which has 127 numbers in the array, while in all previous test cases, I used at most 4MB. Does anyone have an explanation? The only large chunk of memory I allotted in my code is a 200,000-longlongint array which shouldn't take more than 2MB. However, in this test case, I used 256MB and got MLE.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский wfe2017 2016-08-08 14:04:26 57 Tiny change: ' got MLE. ' -> ' got MLE. \n\nhttp://codeforces.com/contest/615/submission/19726073'
en1 Английский wfe2017 2016-08-08 13:51:12 461 Initial revision (published)