Problem 01knapsack
User FreedomhawksBANANAA
Submission Time 2023-05-26 12:04:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

01knapsack.cpp: In function ‘int main()’:
01knapsack.cpp:22:30: error: ‘j’ was not declared in this scope
22 | dp[i][x] = dp[i - 1][j];
| ^