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_37613503_11526.cpp: In function 'void dijskal()':
0_0_37613503_11526.cpp:52:14: error: expected unqualified-id before '[' token
         auto [w, x] = q.top(); q.pop();
              ^
0_0_37613503_11526.cpp:54:16: error: 'x' was not declared in this scope
         if (st[x]) continue;
                ^
0_0_37613503_11526.cpp:55:12: error: 'x' was not declared in this scope
         st[x] = true;
            ^
0_0_37613503_11526.cpp:56:19: error: expected unqualified-id before '[' token
         for (auto [y, val] : ve[x]) {
                   ^
0_0_37613503_11526.cpp:56:19: error: expected ';' before '[' token
0_0_37613503_11526.cpp:56:20: error: 'y' was not declared in this scope
         for (auto [y, val] : ve[x]) {
                    ^
0_0_37613503_11526.cpp:56:23: error: 'val' was not declared in this scope
         for (auto [y, val] : ve[x]) {
                       ^
0_0_37613503_11526.cpp: In lambda function:
0_0_37613503_11526.cpp:56:28: error: expected '{' before ':' token
         for (auto [y, val] : ve[x]) {
                            ^
0_0_37613503_11526.cpp: In function 'void dijskal()':
0_0_37613503_11526.cpp:56:28: error: expected ';' before ':' token
0_0_37613503_11526.cpp:56:28: error: expected primary-expression before ':' token
0_0_37613503_11526.cpp:56:28: error: expected ')' before ':' token
0_0_37613503_11526.cpp:56: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-05-19 17:34:19, Gzip enabled