0_0_37730662_30498.cpp: In lambda function:
0_0_37730662_30498.cpp:37:19: error: expected unqualified-id before '[' token
auto &[x,y]=que.front();
^
0_0_37730662_30498.cpp:37:19: error: expected initializer before '[' token
0_0_37730662_30498.cpp:39:16: error: 'x' was not declared in this scope
if(x==edx&&y==edy)return true;
^
0_0_37730662_30498.cpp:39:24: error: 'y' was not declared in this scope
if(x==edx&&y==edy)return true;
^
0_0_37730662_30498.cpp:41:24: error: 'x' was not declared in this scope
int nx=x+dx[i],ny=y+dy[i];
^
0_0_37730662_30498.cpp:42:29: error: 'ny' was not declared in this scope
if(check(nx,ny)&&!vis[nx][ny]){
^
0_0_37730662_30498.cpp:43:49: error: 'y' was not declared in this scope
if((i<2&&markc[(x+nx+1)>>1][y])||(i>1&&markr[x][(y+ny+1)>>1]))continue;
^
0_0_37730662_30498.cpp: In function 'void solve()':
0_0_37730662_30498.cpp:54:15: error: expected unqualified-id before '[' token
auto &[x1,y1,x2,y2]=wall[i];
^
0_0_37730662_30498.cpp:54:15: error: expected initializer before '[' token
0_0_37730662_30498.cpp:55:12: error: 'x1' was not declared in this scope
if(x1==x2){
^
0_0_37730662_30498.cpp:55:16: error: 'x2' was not declared in this scope
if(x1==x2){
^
0_0_37730662_30498.cpp:56:16: error: 'y1' was not declared in this scope
if(y1>y2)swap(y1,y2);
^
0_0_37730662_30498.cpp:56:19: error: 'y2' was not declared in this scope
if(y1>y2)swap(y1,y2);
^
0_0_37730662_30498.cpp:65:18: error: expected unqualified-id before '[' token
auto [x1,y1,x2,y2]=wall[j];
^
0_0_37730662_30498.cpp:66:16: error: 'x1' was not declared in this scope
if(x1==x2){
^
0_0_37730662_30498.cpp:66:20: error: 'x2' was not declared in this scope
if(x1==x2){
^
0_0_37730662_30498.cpp:67:27: error: 'y1' was not declared in this scope
for(int k=y1;k<y2;++k)markc[x1][k]=true;
^
0_0_37730662_30498.cpp:67:32: error: 'y2' was not declared in this scope
for(int k=y1;k<y2;++k)markc[x1][k]=true;
^
0_0_37730662_30498.cpp:69:48: error: 'y1' was not declared in this scope
for(int k=x1;k<x2;++k)markr[k][y1]=true;
^
|