strange case on runtime error

Правка en1, от PickledSausage, 2021-11-08 01:59:55

Hello,

So, I noticed several times that declaring some variables inside main gives runtime error, usually when they take much space, but still it does not seem it hits memory limit. For example, in these cases 134618509 134618526. In the first one arrays are declared outside main, while in the latter one inside main. Despite the fact they take up the same space the 2nd one gives runtime error. Could you please explain why this happens? Thanks in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский PickledSausage 2021-11-08 01:59:55 517 Initial revision (published)