[Submission 1](http://mirror.codeforces.com/contest/431/submission/41659843)↵
in this code my solution accpeepts if i inititiate dp with -1;↵
[Submission 2](http://mirror.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://mirror.codeforces.com/contest/431/problem/C)
in this code my solution acc
[Submission 2](http://mirror.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://mirror.codeforces.com/contest/431/problem/C)