[Java] same code AC & MLE

Revision en2, by warks, 2021-08-18 10:03:54

This happened in abc213d.

Diffcheck between the two codes (MLE, AC) shows that they are exactly the same, surprisingly though, the MLE code consumes about 1GB+ memory (and significantly greater time) whereas the AC one only consumes 250MB.

It's been bugging me a lot, why would this happen, can anyone please help?

Thanks in advance.

Tags #java, #atcoder, #ambiguousresult

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English warks 2021-08-18 10:06:39 0 (published)
en2 English warks 2021-08-18 10:03:54 357
en1 English warks 2021-08-17 09:47:35 353 Initial revision (saved to drafts)