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_36883216_26787.cpp: In function 'void slove()':
0_0_36883216_26787.cpp:44:9: error: expected unqualified-id before '[' token
     auto[d,a,b,u] = pq.top();pq.pop();
         ^
0_0_36883216_26787.cpp:45:12: error: 'u' was not declared in this scope
     if(vis[u] <= a)continue;
            ^
0_0_36883216_26787.cpp:45:18: error: 'a' was not declared in this scope
     if(vis[u] <= a)continue;
                  ^
0_0_36883216_26787.cpp:46:12: error: 'u' was not declared in this scope
     if(vis[u] == inf){
            ^
0_0_36883216_26787.cpp:47:16: error: expected unqualified-id before '[' token
       for(auto [a2,b2,v] : e[u]){
                ^
0_0_36883216_26787.cpp:47:16: error: expected ';' before '[' token
0_0_36883216_26787.cpp:47:17: error: 'a2' was not declared in this scope
       for(auto [a2,b2,v] : e[u]){
                 ^
0_0_36883216_26787.cpp:47:20: error: 'b2' was not declared in this scope
       for(auto [a2,b2,v] : e[u]){
                    ^
0_0_36883216_26787.cpp:47:23: error: 'v' was not declared in this scope
       for(auto [a2,b2,v] : e[u]){
                       ^
0_0_36883216_26787.cpp: In lambda function:
0_0_36883216_26787.cpp:47:26: error: expected '{' before ':' token
       for(auto [a2,b2,v] : e[u]){
                          ^
0_0_36883216_26787.cpp: In function 'void slove()':
0_0_36883216_26787.cpp:47:26: error: expected ';' before ':' token
0_0_36883216_26787.cpp:47:26: error: expected primary-expression before ':' token
0_0_36883216_26787.cpp:47:26: error: expected ')' before ':' token
0_0_36883216_26787.cpp:47:26: error: expected primary-expression before ':' token
0_0_36883216_26787.cpp:52:15: error: 'u' was not declared in this scope
     while(now[u] >= 0 && e[u][now[u]].a > a){
               ^
0_0_36883216_26787.cpp:52:43: error: 'a' was not declared in this scope
     while(now[u] >= 0 && e[u][now[u]].a > a){
                                           ^
0_0_36883216_26787.cpp:53:12: error: expected unqualified-id before '[' token
       auto [a2,b2,v] = e[u][now[u]--];
            ^
0_0_36883216_26787.cpp:54:14: error: 'v' was not declared in this scope
       if(dis[v] > d + a2 - b2)dis[v] = d + a2 - b2;
              ^
0_0_36883216_26787.cpp:54:19: error: 'd' was not declared in this scope
       if(dis[v] > d + a2 - b2)dis[v] = d + a2 - b2;
                   ^
0_0_36883216_26787.cpp:54:23: error: 'a2' was not declared in this scope
       if(dis[v] > d + a2 - b2)dis[v] = d + a2 - b2;
                       ^
0_0_36883216_26787.cpp:54:28: error: 'b2' was not declared in this scope
       if(dis[v] > d + a2 - b2)dis[v] = d + a2 - b2;
                            ^
0_0_36883216_26787.cpp:55:22: error: 'v' was not declared in this scope
       pq.emplace(dis[v],a2,b2,v);
                      ^
0_0_36883216_26787.cpp:55:25: error: 'a2' was not declared in this scope
       pq.emplace(dis[v],a2,b2,v);
                         ^
0_0_36883216_26787.cpp:55:28: error: 'b2' was not declared in this scope
       pq.emplace(dis[v],a2,b2,v);
                            ^
0_0_36883216_26787.cpp:57:9: error: 'u' was not declared in this scope
     vis[u] = a;
         ^
0_0_36883216_26787.cpp:57:14: error: 'a' was not declared in this scope
     vis[u] = a;
              ^


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-06-29 07:33:17, Gzip enabled