| Problem | knapsack |
|---|---|
| User | LL |
| Submission Time | 2026-02-16 17:14:15 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
knapsack.cpp:5:14: error: ‘p’ does not name a type
5 | using plll = p<pll, ll>;
| ^
knapsack.cpp:9:1: error: ‘plll’ does not name a type; did you mean ‘pll’?
9 | plll arr[100005];
| ^~~~
| pll
knapsack.cpp: In function ‘void check(ll, ll)’:
knapsack.cpp:13:5: error: ‘arr’ was not declared in this scope
13 | if(arr[i] S == -1) return;
| ^~~
knapsack.cpp:14:5: error: ‘w’ was not declared in this scope
14 | if(w==0) return;
| ^
knapsack.cpp:15:2: error: ‘v’ was not declared in this scope
15 | v = arr[opt[i] S] F F;
| ^
knapsack.cpp:15:6: error: ‘arr’ was not declared in this scope
15 | v = arr[opt[i] S] F F;
| ^~~
knapsack.cpp:15:10: error: ‘opt’ was not declared in this scope
15 | v = arr[opt[i] S] F F;
| ^~~
knapsack.cpp:16:2: error: ‘w’ was not declared in this scope
16 | w = arr[opt[i] S] F S;<