0_0_33295595_22689.cpp:5:1: error: 'dp' does not name a type
dp[0][0]=1;
^
0_0_33295595_22689.cpp: In function 'int main()':
0_0_33295595_22689.cpp:17:34: error: 'j' was not declared in this scope
for(int i=0;i<MONEY;i++) for(j=0;j<COIN;j++) ans[i]+=dp[i][j];
^
|