drvca.cpp: In lambda function:
drvca.cpp:45:22: error: 'id' is not captured
45 | if(i+2<sz(up) and id!=-1){
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~
drvca.cpp:46:15: error: 'a' is not captured
46 | if(up[i]==a[id] and up[i+1]==a[id+1] and up[i+2]==a[id+2]) assert(false);
| ^
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:23:5: note: 'vi a' declared here
23 | vi a(n);
| ^
drvca.cpp:46:17: error: 'id' is not captured
46 | if(up[i]==a[id] and up[i+1]==a[id+1] and up[i+2]==a[id+2]) assert(false);
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~
drvca.cpp:46:34: error: 'a' is not captured
46 | if(up[i]==a[id] and up[i+1]==a[id+1] and up[i+2]==a[id+2]) assert(false);
| ^
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:23:5: note: 'vi a' declared here
23 | vi a(n);
| ^
drvca.cpp:46:36: error: 'id' is not captured
46 | if(up[i]==a[id] and up[i+1]==a[id+1] and up[i+2]==a[id+2]) assert(false);
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~
drvca.cpp:46:55: error: 'a' is not captured
46 | if(up[i]==a[id] and up[i+1]==a[id+1] and up[i+2]==a[id+2]) assert(false);
| ^
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:23:5: note: 'vi a' declared here
23 | vi a(n);
| ^
drvca.cpp:46:57: error: 'id' is not captured
46 | if(up[i]==a[id] and up[i+1]==a[id+1] and up[i+2]==a[id+2]) assert(false);
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~
drvca.cpp:52:23: error: 'id' is not captured
52 | if(i+2<sz(dw) and id!=-1){
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~
drvca.cpp:53:16: error: 'a' is not captured
53 | if(dw[i]==a[id] and dw[i+1]==a[id+1] and dw[i+2]==a[id+2]) assert(false);
| ^
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:23:5: note: 'vi a' declared here
23 | vi a(n);
| ^
drvca.cpp:53:18: error: 'id' is not captured
53 | if(dw[i]==a[id] and dw[i+1]==a[id+1] and dw[i+2]==a[id+2]) assert(false);
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~
drvca.cpp:53:35: error: 'a' is not captured
53 | if(dw[i]==a[id] and dw[i+1]==a[id+1] and dw[i+2]==a[id+2]) assert(false);
| ^
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:23:5: note: 'vi a' declared here
23 | vi a(n);
| ^
drvca.cpp:53:37: error: 'id' is not captured
53 | if(dw[i]==a[id] and dw[i+1]==a[id+1] and dw[i+2]==a[id+2]) assert(false);
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~
drvca.cpp:53:56: error: 'a' is not captured
53 | if(dw[i]==a[id] and dw[i+1]==a[id+1] and dw[i+2]==a[id+2]) assert(false);
| ^
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:23:5: note: 'vi a' declared here
23 | vi a(n);
| ^
drvca.cpp:53:58: error: 'id' is not captured
53 | if(dw[i]==a[id] and dw[i+1]==a[id+1] and dw[i+2]==a[id+2]) assert(false);
| ^~
drvca.cpp:27:10: note: the lambda has no capture-default
27 | auto g=[](dq up,dq dw){
| ^
drvca.cpp:26:6: note: 'int id' declared here
26 | int id=-1;
| ^~