MLE with vectors, but arrays work fine

Revision en1, by tyr0Whiz, 2022-06-15 04:14:43

I was solving this problem when I implemented it using vectors (this solution) I got MLE(Memory Limit Exceeded) and when I declared a global array in this solution I got AC. I even tried to declare vectors globally but still MLE. Does anyone know what is problem with using vectors here

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English tyr0Whiz 2022-06-15 04:14:43 493 Initial revision (published)