Problem | knapsack |
---|---|
User | usernamehere |
Submission Time | 2025-03-07 14:58:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
knapsack.cpp: In function ‘int main()’:
knapsack.cpp:17:8: error: redeclaration of ‘ll n’
17 | ll n = weights.size();
| ^
knapsack.cpp:5:8: note: ‘ll n’ previously declared here
5 | ll n, w, i, j;
| ^