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_35918431_9377.cpp: In function 'void Dijkstra::work()':
0_0_35918431_9377.cpp:29:11: error: expected unqualified-id before '[' token
       auto[x,y] = S.top();S.pop();
           ^
0_0_35918431_9377.cpp:30:14: error: 'y' was not declared in this scope
       if(vis[y])continue;vis[y] = 1;
              ^
0_0_35918431_9377.cpp:30:30: error: 'y' was not declared in this scope
       if(vis[y])continue;vis[y] = 1;
                              ^
0_0_35918431_9377.cpp:31:16: error: expected unqualified-id before '[' token
       for(auto [v,w] : e[y])
                ^
0_0_35918431_9377.cpp:31:16: error: expected ';' before '[' token
0_0_35918431_9377.cpp:31:17: error: 'v' was not declared in this scope
       for(auto [v,w] : e[y])
                 ^
0_0_35918431_9377.cpp:31:19: error: 'w' was not declared in this scope
       for(auto [v,w] : e[y])
                   ^
0_0_35918431_9377.cpp: In lambda function:
0_0_35918431_9377.cpp:31:22: error: expected '{' before ':' token
       for(auto [v,w] : e[y])
                      ^
0_0_35918431_9377.cpp: In function 'void Dijkstra::work()':
0_0_35918431_9377.cpp:31:22: error: expected ';' before ':' token
0_0_35918431_9377.cpp:31:22: error: expected primary-expression before ':' token
0_0_35918431_9377.cpp:31:22: error: expected ')' before ':' token
0_0_35918431_9377.cpp:31:22: error: expected primary-expression before ':' token
0_0_35918431_9377.cpp: In function 'void Dinic::init()':
0_0_35918431_9377.cpp:69:15: error: expected unqualified-id before '[' token
       for(auto[v,w] : Dijkstra::e2[u])
               ^
0_0_35918431_9377.cpp:69:15: error: expected ';' before '[' token
0_0_35918431_9377.cpp:69:16: error: 'v' was not declared in this scope
       for(auto[v,w] : Dijkstra::e2[u])
                ^
0_0_35918431_9377.cpp:69:18: error: 'w' was not declared in this scope
       for(auto[v,w] : Dijkstra::e2[u])
                  ^
0_0_35918431_9377.cpp: In lambda function:
0_0_35918431_9377.cpp:69:21: error: expected '{' before ':' token
       for(auto[v,w] : Dijkstra::e2[u])
                     ^
0_0_35918431_9377.cpp: In function 'void Dinic::init()':
0_0_35918431_9377.cpp:69:21: error: expected ';' before ':' token
0_0_35918431_9377.cpp:69:21: error: expected primary-expression before ':' token
0_0_35918431_9377.cpp:69:21: error: expected ')' before ':' token
0_0_35918431_9377.cpp:69:21: error: expected primary-expression before ':' token
0_0_35918431_9377.cpp:73:16: error: expected unqualified-id before '[' token
       for(auto [v,w] : Dijkstra::e[u]){
                ^
0_0_35918431_9377.cpp:73:16: error: expected ';' before '[' token
0_0_35918431_9377.cpp:73:17: error: 'v' was not declared in this scope
       for(auto [v,w] : Dijkstra::e[u]){
                 ^
0_0_35918431_9377.cpp:73:19: error: 'w' was not declared in this scope
       for(auto [v,w] : Dijkstra::e[u]){
                   ^
0_0_35918431_9377.cpp: In lambda function:
0_0_35918431_9377.cpp:73:22: error: expected '{' before ':' token
       for(auto [v,w] : Dijkstra::e[u]){
                      ^
0_0_35918431_9377.cpp: In function 'void Dinic::init()':
0_0_35918431_9377.cpp:73:22: error: expected ';' before ':' token
0_0_35918431_9377.cpp:73:22: error: expected primary-expression before ':' token
0_0_35918431_9377.cpp:73:22: error: expected ')' before ':' token
0_0_35918431_9377.cpp:73:22: error: expected primary-expression before ':' token
0_0_35918431_9377.cpp: In function 'bool Dinic::bfs()':
0_0_35918431_9377.cpp:86:14: error: expected unqualified-id before '[' token
         auto [u,v,w] = e[x];
              ^
0_0_35918431_9377.cpp:87:16: error: 'v' was not declared in this scope
         if(dep[v] == -1 && w){
                ^
0_0_35918431_9377.cpp:87:28: error: 'w' was not declared in this scope
         if(dep[v] == -1 && w){
                            ^
0_0_35918431_9377.cpp: In function 'int Dinic::dfs(int, int)':
0_0_35918431_9377.cpp:99:13: error: expected unqualified-id before '[' token
       auto &[u,v,w] = e[G[x][i]];
             ^
0_0_35918431_9377.cpp:99:13: error: expected initializer before '[' token
0_0_35918431_9377.cpp:101:14: error: 'v' was not declared in this scope
       if(dep[v] == dep[u] + 1 && (tmp = dfs(v,min(f,w)))){
              ^
0_0_35918431_9377.cpp:101:24: error: 'u' was not declared in this scope
       if(dep[v] == dep[u] + 1 && (tmp = dfs(v,min(f,w)))){
                        ^
0_0_35918431_9377.cpp:101:53: error: 'w' was not declared in this scope
       if(dep[v] == dep[u] + 1 && (tmp = dfs(v,min(f,w)))){
                                                     ^


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-17 01:46:45, Gzip enabled