F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
                                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 10:37:00, Gzip enabled