Problem knapsack
User Vinayak01
Submission Time 2024-02-22 20:33:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knapsack.cpp: In function ‘int main()’:
knapsack.cpp:38:18: error: ‘knapsack’ was not declared in this scope; did you mean ‘knapsacks’?
38 | int knapsacks = knapsack(n,weights,values,copies);
| ^~~~~~~~
| knapsacks