0_0_13400869_6923.cpp: In function 'int main()':
0_0_13400869_6923.cpp:40:39: error: invalid types 'double [35][double]' for array subscript
if(dp[j]<dp[j-money[i]]+money[i])
^
0_0_13400869_6923.cpp:41:40: error: invalid types 'double [35][double]' for array subscript
dp[j]=dp[j-money[i]]+money[i];
^
0_0_13400869_6923.cpp:43:19: error: expected primary-expression before ')' token
for(i=0;i<)
^
0_0_13400869_6923.cpp:43:19: error: expected ';' before ')' token
0_0_13400869_6923.cpp:44:5: error: expected primary-expression before '}' token
}
^
|