Declaring large sizes locally and globally

Правка en1, от Jim_Moriarty_, 2020-04-27 19:10:56

I was recently solving a problem using a vector first but I got MLE (memory limit exceeded). Then I declared an array of maximum size it got accepted in only 64 KiB. So if any of you know about how does memory limit get affected when we declare anything (large size) globally. And how does it affect the memory limit.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Jim_Moriarty_ 2020-04-28 04:14:34 155
en1 Английский Jim_Moriarty_ 2020-04-27 19:10:56 359 Initial revision (published)