Java Vs C++ !!

Правка en1, от _12345_, 2015-08-07 16:42:21

Hello CodeForces ,, this Problem in SPOJ 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 ?

Теги c++ vs java, dp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский _12345_ 2015-08-07 16:47:15 25
en2 Английский _12345_ 2015-08-07 16:44:55 8 Tiny change: 'em in SPOJ](:http://' -> 'em in SPOJ (EDIST)](:http://'
en1 Английский _12345_ 2015-08-07 16:42:21 421 Initial revision (published)