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_29815355_28870.cpp: In function 'bool Bfs()':
0_0_29815355_28870.cpp:19:9: error: 'dep' was not declared in this scope
  memset(dep,0,sizeof(dep));
         ^
0_0_29815355_28870.cpp:20:2: error: 'q' was not declared in this scope
  q.push(S);
  ^
0_0_29815355_28870.cpp:20:9: error: 'S' was not declared in this scope
  q.push(S);
         ^
0_0_29815355_28870.cpp:26:13: error: 'fst' was not declared in this scope
   for(int i=fst[u];i;i=nxt[i])
             ^
0_0_29815355_28870.cpp:26:24: error: 'nxt' was not declared in this scope
   for(int i=fst[u];i;i=nxt[i])
                        ^
0_0_29815355_28870.cpp:28:10: error: 'to' was not declared in this scope
    int v=to[i];
          ^
0_0_29815355_28870.cpp:29:18: error: 'w' was not declared in this scope
    if(!dep[v] && w[i])
                  ^
0_0_29815355_28870.cpp:36:13: error: 'T' was not declared in this scope
  return dep[T];
             ^
0_0_29815355_28870.cpp: In function 'int Dfs(int, int)':
0_0_29815355_28870.cpp:40:8: error: 'T' was not declared in this scope
  if(u==T || !flow) return flow;
        ^
0_0_29815355_28870.cpp:42:12: error: 'cur' was not declared in this scope
  for(int i=cur[u];i;i=nxt[i])
            ^
0_0_29815355_28870.cpp:42:23: error: 'nxt' was not declared in this scope
  for(int i=cur[u];i;i=nxt[i])
                       ^
0_0_29815355_28870.cpp:45:9: error: 'to' was not declared in this scope
   int v=to[i];
         ^
0_0_29815355_28870.cpp:46:6: error: 'dep' was not declared in this scope
   if(dep[v]==dep[u]+1 && w[i])
      ^
0_0_29815355_28870.cpp:46:26: error: 'w' was not declared in this scope
   if(dep[v]==dep[u]+1 && w[i])
                          ^
0_0_29815355_28870.cpp: In function 'int Dinic()':
0_0_29815355_28870.cpp:66:10: error: 'cur' was not declared in this scope
   memcpy(cur,fst,sizeof(fst));//每次重置cur数组
          ^
0_0_29815355_28870.cpp:66:14: error: 'fst' was not declared in this scope
   memcpy(cur,fst,sizeof(fst));//每次重置cur数组
              ^
0_0_29815355_28870.cpp:67:12: error: 'S' was not declared in this scope
   sum+=Dfs(S,inf);
            ^
0_0_29815355_28870.cpp:67:14: error: 'inf' was not declared in this scope
   sum+=Dfs(S,inf);
              ^
0_0_29815355_28870.cpp: In function 'int main()':
0_0_29815355_28870.cpp:126:33: error: 'get_path' was not declared in this scope
             int add=get_path(1,n);
                                 ^
0_0_29815355_28870.cpp:128:25: error: 'updata' was not declared in this scope
             updata(n,add);
                         ^


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:52:34, Gzip enabled