Problem | 01knapsack |
---|---|
User | YongXin |
Submission Time | 2023-06-24 17:21:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
01knapsack.cpp: In function ‘int main()’:
01knapsack.cpp:12:51: error: ‘w’ was not declared in this scope
12 | for (long long i=0;i<n;++i) for (long long j=0;j<w;j++) m[i][j]=-1;
| ^
01knapsack.cpp:15:18: error: ‘w’ was not declared in this scope
15 | cout<<f(a,b,n-1,w-1);
| ^