0_0_25487192_19829.cpp: In function 'int main()':
0_0_25487192_19829.cpp:12:4: error: 'dp' was not declared in this scope
dp[j]=(dp[j]+dp[j-i])%mod;
^
0_0_25487192_19829.cpp:15:19: error: 'dp' was not declared in this scope
printf("%lld\n",dp[n]%mod);
^
|