dp problem what makes the difference between the two?
Разница между en1 и en2, 29 символ(ов) изменены
[Submission 1](http://codeforces.com/contest/431/submission/41659843)↵
in this code my solution acc
peepts if i inititiate dp with -1;↵
[Submission 2](http://codeforces.com/contest/431/submission/41661595)↵
in this code my solution exceeds 
if i inititiate with dp=0 what makes the difference between the 2?↵
i know if d>n dp=0 but i have covered that solution already so what further cases↵
it counts uselessly,please help!!↵
[Problem Source](http://codeforces.com/contest/431/problem/C)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Vesper_Lynd 2018-08-16 21:48:20 29
en1 Английский Vesper_Lynd 2018-08-16 21:47:05 510 Initial revision (published)