Why does my solution take up that much memory? (java program)

Правка en1, от idk321, 2020-04-28 14:27:35

I solved this problem: https://codeforces.com/contest/1328/problem/E with the following program: https://codeforces.com/contest/1328/submission/78374395. The time it takes is ok, but it takes up quite a lot of memory (180 mb), but that doesn't make sense in my opinion since the program stores at most about 15 million integers.

Теги #memory, #java, #graph

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский idk321 2020-04-28 14:27:35 389 Initial revision (published)