Memory limit exceeded

Правка en1, от chickenDo, 2019-08-04 05:04:40

This is my solution for problem C round 61: https://codeforces.net/contest/1132/submission/58241037 I used a 2d array[N][N] (N = 5000) and a 2d vector. I think the maximum size of the vector is N*N so the memmory of array is approxiate 100MB and vector is 100MB. How could it be MTL? (200MB < 560MB). Thanks.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский chickenDo 2019-08-04 05:04:40 330 Initial revision (published)