Problem knapsack
User Xiaoyang
Submission Time 2023-01-03 22:04:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knapsack.cpp: In function ‘int main()’:
knapsack.cpp:26:14: error: expected primary-expression before ‘)’ token
26 | k=min(k,s);)
| ^
knapsack.cpp:28:17: error: ‘p’ was not declared in this scope
28 | while(k>=p){
| ^