Why my recursion wrong!!

Правка en1, от d3mon95, 2017-01-03 21:13:02

Hey amigos, I cannot understand the problem behind my recursion for the question BOTTLES[problem:730J] and here is my code[submission:23522054], i have try to do a simple recursion, but i cannot understand why i get wrong answer at tet 7. Plz help guys.

Теги help, dp, recursion

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский d3mon95 2017-01-03 21:14:05 81
en1 Английский d3mon95 2017-01-03 21:13:02 277 Initial revision (published)