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