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_22384392_31463.cpp: In function 'bool dinic_bfs()':
0_0_22384392_31463.cpp:41:19: error: 'dinic_head' was not declared in this scope
         for(int i=dinic_head[now];i!=-1;i=g[i].next)
                   ^
0_0_22384392_31463.cpp:41:48: error: 'class std::vector<node>' has no member named 'next'
         for(int i=dinic_head[now];i!=-1;i=g[i].next)
                                                ^
0_0_22384392_31463.cpp:42:21: error: 'class std::vector<node>' has no member named 'src'
             if(g[i].src>0 && dinic_deep[g[i].to]==-1){
                     ^
0_0_22384392_31463.cpp:42:46: error: 'class std::vector<node>' has no member named 'to'
             if(g[i].src>0 && dinic_deep[g[i].to]==-1){
                                              ^
0_0_22384392_31463.cpp:43:33: error: 'class std::vector<node>' has no member named 'to'
                 dinic_deep[g[i].to]=dinic_deep[now]+1;
                                 ^
0_0_22384392_31463.cpp:44:17: error: expected '}' before 'else'
                 else q.push(g[i].to);
                 ^
0_0_22384392_31463.cpp:44:34: error: 'class std::vector<node>' has no member named 'to'
                 else q.push(g[i].to);
                                  ^
0_0_22384392_31463.cpp: At global scope:
0_0_22384392_31463.cpp:47:5: error: expected unqualified-id before 'return'
     return false;
     ^
0_0_22384392_31463.cpp:48:1: error: expected declaration 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-12-04 01:55:47, Gzip enabled