Please read the new rule regarding the restriction on the use of AI tools. ×

Java Vs C++ !!

Revision en2, by _12345_, 2015-08-07 16:44:55

Hello CodeForces ,, this Problem in SPOJ (EDIST) I've Solve it Using Dynamic Programming "Recursion Method" but actually it gives me Runtime Error in Java

The Same Algorithm Using C++ syntax gives me Accepted

Can You Please Explain How is That Happens? and How to Avoid Such Problem if it Face me in Future ?

Tags c++ vs java, dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English _12345_ 2015-08-07 16:47:15 25
en2 English _12345_ 2015-08-07 16:44:55 8 Tiny change: 'em in SPOJ](:http://' -> 'em in SPOJ (EDIST)](:http://'
en1 English _12345_ 2015-08-07 16:42:21 421 Initial revision (published)