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_37564621_21111.cpp: In function 'void init()':
0_0_37564621_21111.cpp:206:14: error: expected unqualified-id before '[' token
         auto [u, v] = es[i];
              ^
0_0_37564621_21111.cpp:207:23: error: 'u' was not declared in this scope
         lsh.push_back(u), lsh.push_back(v);
                       ^
0_0_37564621_21111.cpp:207:41: error: 'v' was not declared in this scope
         lsh.push_back(u), lsh.push_back(v);
                                         ^
0_0_37564621_21111.cpp: In function 'void solve()':
0_0_37564621_21111.cpp:220:14: error: expected unqualified-id before '[' token
         auto [u, v] = es[i];
              ^
0_0_37564621_21111.cpp:221:13: error: 'u' was not declared in this scope
         vis[u] = vis[v] = 1;
             ^
0_0_37564621_21111.cpp:221:22: error: 'v' was not declared in this scope
         vis[u] = vis[v] = 1;
                      ^
0_0_37564621_21111.cpp:228:14: error: expected unqualified-id before '[' token
         auto [u, v] = es[n + i];
              ^
0_0_37564621_21111.cpp:230:9: error: 'u' was not declared in this scope
         u = get(u) + 1, v = get(v) + 1;
         ^
0_0_37564621_21111.cpp:230:25: error: 'v' was not declared in this scope
         u = get(u) + 1, v = get(v) + 1;
                         ^
0_0_37564621_21111.cpp:241:15: error: expected unqualified-id before '[' token
     for (auto [ta, tb] : mp) cout << (char) lsh[ta - 1] << " " << (char) lsh[tb - 1] << "\n";
               ^
0_0_37564621_21111.cpp:241:15: error: expected ';' before '[' token
0_0_37564621_21111.cpp:241:16: error: 'ta' was not declared in this scope
     for (auto [ta, tb] : mp) cout << (char) lsh[ta - 1] << " " << (char) lsh[tb - 1] << "\n";
                ^
0_0_37564621_21111.cpp:241:20: error: 'tb' was not declared in this scope
     for (auto [ta, tb] : mp) cout << (char) lsh[ta - 1] << " " << (char) lsh[tb - 1] << "\n";
                    ^
0_0_37564621_21111.cpp: In lambda function:
0_0_37564621_21111.cpp:241:24: error: expected '{' before ':' token
     for (auto [ta, tb] : mp) cout << (char) lsh[ta - 1] << " " << (char) lsh[tb - 1] << "\n";
                        ^
0_0_37564621_21111.cpp: In function 'void solve()':
0_0_37564621_21111.cpp:241:24: error: expected ';' before ':' token
0_0_37564621_21111.cpp:241:24: error: expected primary-expression before ':' token
0_0_37564621_21111.cpp:241:24: error: expected ')' before ':' token
0_0_37564621_21111.cpp:241:24: error: expected primary-expression before ':' token


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-05-23 19:10:25, Gzip enabled