Partial test cases r passing

wrong answer…problem in the code

use long long int instead of int

still not working …

are you there…code is still not working

also make one change at line 21

for(ll i=0;i<=n;i++)
	{
	dp[i]=0;
	}

Modified Code

thank you…now it’s working