vault.cpp: In function 'void solve()':
vault.cpp:28:46: error: 'kanpsack1' was not declared in this scope; did you mean 'knapsack1'?
28 | for(int use=0; use < pos[i]; ++use) if(kanpsack1[make]<knapsack1[make-use*i])
| ^~~~~~~~~
| knapsack1
vault.cpp:31:46: error: expected ';' before '}' token
31 | knapsack2[make]=knapsack2[make-use*i]
| ^
| ;
32 | }
| ~
vault.cpp:26:9: warning: unused variable 'bigof' [-Wunused-variable]
26 | int bigof = max(pos[i], neg[i]);
| ^~~~~
vault.cpp: At global scope:
vault.cpp:36:3: error: expected unqualified-id before 'for'
36 | for(int i = 0; i <= maxn3; i++){
| ^~~
vault.cpp:36:18: error: 'i' does not name a type
36 | for(int i = 0; i <= maxn3; i++){
| ^
vault.cpp:36:30: error: 'i' does not name a type
36 | for(int i = 0; i <= maxn3; i++){
| ^
vault.cpp:48:3: error: expected unqualified-id before 'if'
48 | if(add == -1e18){
| ^~
vault.cpp:50:4: error: expected unqualified-id before 'else'
50 | }else{
| ^~~~
vault.cpp:53:1: error: expected declaration before '}' token
53 | }
| ^