Problem knapsack
User PerihelionfromAphelion
Submission Time 2026-11-25 16:39:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

knapsack.cpp: In function ‘int32_t main()’:
knapsack.cpp:22:16: error: ‘V’ was not declared in this scope
22 | cout << dp[V];
| ^