I am not able to find bug in my code .please help me to find bug in my code.
Hey @Ankit_kumar_3003 Please share your code in Coding blocks ide.
Hey @Ankit_kumar_3003 Replace line 15 by :
count[i]=(count[i-1]+count[i-m])%1000000007;