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_37613323_16384.cpp: In function 'void dijskal()':
0_0_37613323_16384.cpp:46:14: error: expected unqualified-id before '[' token
         auto [w, x] = q.top(); q.pop();
              ^
0_0_37613323_16384.cpp:48:16: error: 'x' was not declared in this scope
         if (st[x]) continue;
                ^
0_0_37613323_16384.cpp:49:12: error: 'x' was not declared in this scope
         st[x] = true;
            ^
0_0_37613323_16384.cpp:50:19: error: expected unqualified-id before '[' token
         for (auto [y, val] : ve[x]) {
                   ^
0_0_37613323_16384.cpp:50:19: error: expected ';' before '[' token
0_0_37613323_16384.cpp:50:20: error: 'y' was not declared in this scope
         for (auto [y, val] : ve[x]) {
                    ^
0_0_37613323_16384.cpp:50:23: error: 'val' was not declared in this scope
         for (auto [y, val] : ve[x]) {
                       ^
0_0_37613323_16384.cpp: In lambda function:
0_0_37613323_16384.cpp:50:28: error: expected '{' before ':' token
         for (auto [y, val] : ve[x]) {
                            ^
0_0_37613323_16384.cpp: In function 'void dijskal()':
0_0_37613323_16384.cpp:50:28: error: expected ';' before ':' token
0_0_37613323_16384.cpp:50:28: error: expected primary-expression before ':' token
0_0_37613323_16384.cpp:50:28: error: expected ')' before ':' token
0_0_37613323_16384.cpp:50:28: 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-11-23 00:30:01, Gzip enabled