MLE in JAVA

Правка en1, от 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?

Теги mle, #java

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Clark_Kent 2021-08-04 18:43:03 311 Initial revision (published)