Problem knapsack
User PlayVoltz
Submission Time 2023-09-05 14:31:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knapsack.cpp: In function ‘int main()’:
knapsack.cpp:26:15: error: invalid types ‘int[int]’ for array subscript
26 | cout<<dp[n][k];
| ^