Clark_Kent's blog

By Clark_Kent, history, 3 months ago, In English

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?

Read more »

 
 
 
 
  • Vote: I like it
  • -2
  • Vote: I do not like it