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_34099352_23995.cpp:11:5: error: 'll' does not name a type
     ll c,flow;
     ^
0_0_34099352_23995.cpp:18:22: error: 'll' has not been declared
 void add(int u,int v,ll c){
                      ^
0_0_34099352_23995.cpp: In function 'void add(int, int, int)':
0_0_34099352_23995.cpp:19:30: error: 'struct node' has no member named 'c'
     edge[tot].to=v;edge[tot].c=c;edge[tot].flow=0;
                              ^
0_0_34099352_23995.cpp:19:44: error: 'struct node' has no member named 'flow'
     edge[tot].to=v;edge[tot].c=c;edge[tot].flow=0;
                                            ^
0_0_34099352_23995.cpp:21:30: error: 'struct node' has no member named 'c'
     edge[tot].to=u;edge[tot].c=0;edge[tot].flow=0;
                              ^
0_0_34099352_23995.cpp:21:44: error: 'struct node' has no member named 'flow'
     edge[tot].to=u;edge[tot].c=0;edge[tot].flow=0;
                                            ^
0_0_34099352_23995.cpp: In function 'int bfs()':
0_0_34099352_23995.cpp:33:24: error: 'struct node' has no member named 'c'
             if(edge[i].c>edge[i].flow && dis[v]==inf){
                        ^
0_0_34099352_23995.cpp:33:34: error: 'struct node' has no member named 'flow'
             if(edge[i].c>edge[i].flow && dis[v]==inf){
                                  ^
0_0_34099352_23995.cpp: In function 'int dfs(int, int)':
0_0_34099352_23995.cpp:44:5: error: 'll' was not declared in this scope
     ll flow=0,f;int i;
     ^
0_0_34099352_23995.cpp:48:42: error: 'struct node' has no member named 'c'
         if(dis[v]==(dis[x]+1) && edge[i].c>edge[i].flow){
                                          ^
0_0_34099352_23995.cpp:48:52: error: 'struct node' has no member named 'flow'
         if(dis[v]==(dis[x]+1) && edge[i].c>edge[i].flow){
                                                    ^
0_0_34099352_23995.cpp:49:13: error: 'f' was not declared in this scope
             f=dfs(v,min(maxflow,edge[i].c-edge[i].flow));
             ^
0_0_34099352_23995.cpp:49:41: error: 'struct node' has no member named 'c'
             f=dfs(v,min(maxflow,edge[i].c-edge[i].flow));
                                         ^
0_0_34099352_23995.cpp:49:51: error: 'struct node' has no member named 'flow'
             f=dfs(v,min(maxflow,edge[i].c-edge[i].flow));
                                                   ^
0_0_34099352_23995.cpp:50:21: error: 'struct node' has no member named 'flow'
             edge[i].flow+=f;
                     ^
0_0_34099352_23995.cpp:51:23: error: 'struct node' has no member named 'flow'
             edge[i^1].flow-=f;
                       ^
0_0_34099352_23995.cpp:52:13: error: 'flow' was not declared in this scope
             flow+=f;
             ^
0_0_34099352_23995.cpp:57:12: error: 'flow' was not declared in this scope
     return flow;
            ^
0_0_34099352_23995.cpp: At global scope:
0_0_34099352_23995.cpp:59:1: error: 'll' does not name a type
 ll dinic(){
 ^
0_0_34099352_23995.cpp: In function 'int main()':
0_0_34099352_23995.cpp:73:9: error: 'll' was not declared in this scope
         ll sum=0;
         ^
0_0_34099352_23995.cpp:75:16: error: expected ';' before 'a'
             ll a=0,x;
                ^
0_0_34099352_23995.cpp:77:31: error: 'x' was not declared in this scope
                 scanf("%lld",&x);
                               ^
0_0_34099352_23995.cpp:78:17: error: 'a' was not declared in this scope
                 a+=x;add(i,j,x);
                 ^
0_0_34099352_23995.cpp:80:13: error: 'sum' was not declared in this scope
             sum+=a;
             ^
0_0_34099352_23995.cpp:80:18: error: 'a' was not declared in this scope
             sum+=a;
                  ^
0_0_34099352_23995.cpp:84:16: error: expected ';' before 'x'
             ll x;scanf("%lld",&x);
                ^
0_0_34099352_23995.cpp:84:32: error: 'x' was not declared in this scope
             ll x;scanf("%lld",&x);
                                ^
0_0_34099352_23995.cpp:87:25: error: 'sum' was not declared in this scope
         printf("%lld\n",sum-dinic());
                         ^
0_0_34099352_23995.cpp:87:35: error: 'dinic' was not declared in this scope
         printf("%lld\n",sum-dinic());
                                   ^


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-09-29 09:23:23, Gzip enabled