Problem coinbag
User nothing
Submission Time 2023-07-27 22:19:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

coinbag.cpp: In function ‘int main()’:
coinbag.cpp:34:51: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
34 | K[i][w] = K[i - 1][w - wt[i - 1]] + K[i - 1];
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| int*