Memory limit exceeded

Revision en1, by chickenDo, 2019-08-04 05:04:40

This is my solution for problem C round 61: https://codeforces.com/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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English chickenDo 2019-08-04 05:04:40 330 Initial revision (published)