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_25091167_1723.cpp:16:9: error: 'll' does not name a type
         ll cap, flow;
         ^
0_0_25091167_1723.cpp:18:28: error: 'll' has not been declared
         edge(int u, int v, ll cap): u(u), v(v), cap(cap), flow(0) {}
                            ^
0_0_25091167_1723.cpp:32:33: error: 'll' has not been declared
     void add_edge(int u, int v, ll cap) {
                                 ^
0_0_25091167_1723.cpp:61:5: error: 'll' does not name a type
     ll DFS(int u, int T, ll flow = -1) {
     ^
0_0_25091167_1723.cpp:79:5: error: 'll' does not name a type
     ll maxflow(int S, int T) {
     ^
0_0_25091167_1723.cpp: In constructor 'Dinic::edge::edge(int, int, int)':
0_0_25091167_1723.cpp:18:49: error: class 'Dinic::edge' does not have any field named 'cap'
         edge(int u, int v, ll cap): u(u), v(v), cap(cap), flow(0) {}
                                                 ^
0_0_25091167_1723.cpp:18:59: error: class 'Dinic::edge' does not have any field named 'flow'
         edge(int u, int v, ll cap): u(u), v(v), cap(cap), flow(0) {}
                                                           ^
0_0_25091167_1723.cpp: In member function 'bool Dinic::BFS(int, int)':
0_0_25091167_1723.cpp:52:23: error: 'struct Dinic::edge' has no member named 'flow'
                 if (e.flow < e.cap && d[e.v] > d[e.u] + 1) {
                       ^
0_0_25091167_1723.cpp:52:32: error: 'struct Dinic::edge' has no member named 'cap'
                 if (e.flow < e.cap && d[e.v] > d[e.u] + 1) {
                                ^
0_0_25091167_1723.cpp: In function 'int main()':
0_0_25091167_1723.cpp:122:24: error: 'struct Dinic' has no member named 'maxflow'
         tot -= netflow.maxflow(src, dst);
                        ^


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-02 06:39:57, Gzip enabled