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_37959360_15032.cpp: In function 'void solve()':
0_0_37959360_15032.cpp:99:26: error: expected unqualified-id before '[' token
                     auto [x, y] = q.front(); q.pop();
                          ^
0_0_37959360_15032.cpp:100:25: error: 'x' was not declared in this scope
                     if((x >> 1) + 1 < n){
                         ^
0_0_37959360_15032.cpp:101:40: error: 'y' was not declared in this scope
                         if(!vis[x + 2][y] && !mp[x + 1][y]){
                                        ^
0_0_37959360_15032.cpp:106:25: error: 'x' was not declared in this scope
                     if((x >> 1) > 0){
                         ^
0_0_37959360_15032.cpp:107:40: error: 'y' was not declared in this scope
                         if(!vis[x - 2][y] && !mp[x - 1][y]){
                                        ^
0_0_37959360_15032.cpp:113:25: error: 'y' was not declared in this scope
                     if((y >> 1) + 1 < m){
                         ^
0_0_37959360_15032.cpp:114:33: error: 'x' was not declared in this scope
                         if(!vis[x][y + 2] && !mp[x][y + 1]){
                                 ^
0_0_37959360_15032.cpp:119:25: error: 'y' was not declared in this scope
                     if((y >> 1) > 0){
                         ^
0_0_37959360_15032.cpp:120:33: error: 'x' was not declared in this scope
                         if(!vis[x][y - 2] && !mp[x][y - 1]){
                                 ^
0_0_37959360_15032.cpp:133:47: error: expected ')' before ',' token
                 if(int fx = find(x * maxn + y), fy = find((x + 2) * maxn + y); fx != fy){
                                               ^
0_0_37959360_15032.cpp:133:80: error: 'fx' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find((x + 2) * maxn + y); fx != fy){
                                                                                ^
0_0_37959360_15032.cpp:133:86: error: 'fy' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find((x + 2) * maxn + y); fx != fy){
                                                                                      ^
0_0_37959360_15032.cpp:139:47: error: expected ')' before ',' token
                 if(int fx = find(x * maxn + y), fy = find((x - 2) * maxn + y); fx != fy){
                                               ^
0_0_37959360_15032.cpp:139:80: error: 'fx' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find((x - 2) * maxn + y); fx != fy){
                                                                                ^
0_0_37959360_15032.cpp:139:86: error: 'fy' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find((x - 2) * maxn + y); fx != fy){
                                                                                      ^
0_0_37959360_15032.cpp:146:47: error: expected ')' before ',' token
                 if(int fx = find(x * maxn + y), fy = find(x * maxn + y + 2); fx != fy){
                                               ^
0_0_37959360_15032.cpp:146:78: error: 'fx' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find(x * maxn + y + 2); fx != fy){
                                                                              ^
0_0_37959360_15032.cpp:146:84: error: 'fy' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find(x * maxn + y + 2); fx != fy){
                                                                                    ^
0_0_37959360_15032.cpp:152:47: error: expected ')' before ',' token
                 if(int fx = find(x * maxn + y), fy = find(x * maxn + y - 2); fx != fy){
                                               ^
0_0_37959360_15032.cpp:152:78: error: 'fx' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find(x * maxn + y - 2); fx != fy){
                                                                              ^
0_0_37959360_15032.cpp:152:84: error: 'fy' was not declared in this scope
                 if(int fx = find(x * maxn + y), fy = find(x * maxn + y - 2); fx != fy){
                                                                                    ^


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-11-16 20:23:47, Gzip enabled