MLE in JAVA

Revision en1, by Clark_Kent, 2021-08-04 18:43:03

In this problem, 757D - Felicity's Big Secret Revealed the space complexity N*(2^20) causes MLE in JAVA whereas gets accepted in C++. The DP array uses space N*(2^20) in my submission.

Can somebody help me understand why this is happening? Is it a java thing?

Tags mle, #java

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Clark_Kent 2021-08-04 18:43:03 311 Initial revision (published)