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_33807972_16670.cpp: In function 'void add(int, int, int)':
0_0_33807972_16670.cpp:36:4: error: 'e' was not declared in this scope
  b[e].v = y, b[e].w = z + M, b[e].ne = h[x], h[x] = e++;
    ^
0_0_33807972_16670.cpp:36:40: error: 'h' was not declared in this scope
  b[e].v = y, b[e].w = z + M, b[e].ne = h[x], h[x] = e++;
                                        ^
0_0_33807972_16670.cpp: In function 'bool bfs(int)':
0_0_33807972_16670.cpp:42:9: error: 'dep' was not declared in this scope
  memset(dep, -1, sizeof(dep));
         ^
0_0_33807972_16670.cpp:47:15: error: 'h' was not declared in this scope
   for(int i = h[x]; i != -1; i = b[i].ne) {
               ^
0_0_33807972_16670.cpp:51:17: error: 't' was not declared in this scope
    if(b[i].v == t)  return 1;
                 ^
0_0_33807972_16670.cpp: In function 'int dfs(int, int)':
0_0_33807972_16670.cpp:59:10: error: 't' was not declared in this scope
  if(x == t)  return f;
          ^
0_0_33807972_16670.cpp:61:14: error: 'h' was not declared in this scope
  for(int i = h[x], d; i != -1; i = b[i].ne)
              ^
0_0_33807972_16670.cpp:62:16: error: 'dep' was not declared in this scope
   if(b[i].w && dep[b[i].v] == dep[x] + 1) {
                ^
0_0_33807972_16670.cpp:63:4: error: 'd' was not declared in this scope
    d = dfs(b[i].v, min(b[i].w, f));
    ^
0_0_33807972_16670.cpp:68:16: error: 'dep' was not declared in this scope
  if(ret == 0)  dep[x] = -1;
                ^
0_0_33807972_16670.cpp: In function 'int main()':
0_0_33807972_16670.cpp:74:2: error: 'T' was not declared in this scope
  T = read();
  ^
0_0_33807972_16670.cpp:76:3: error: 'n' was not declared in this scope
   n = read(), m = read();
   ^
0_0_33807972_16670.cpp:76:15: error: 'm' was not declared in this scope
   n = read(), m = read();
               ^
0_0_33807972_16670.cpp:77:3: error: 's' was not declared in this scope
   s = n + 1, t = s + 1, e = ans = 0;
   ^
0_0_33807972_16670.cpp:77:14: error: 't' was not declared in this scope
   s = n + 1, t = s + 1, e = ans = 0;
              ^
0_0_33807972_16670.cpp:77:25: error: 'e' was not declared in this scope
   s = n + 1, t = s + 1, e = ans = 0;
                         ^
0_0_33807972_16670.cpp:78:10: error: 'h' was not declared in this scope
   memset(h, -1, sizeof(h));
          ^
0_0_33807972_16670.cpp:79:10: error: 'a' was not declared in this scope
   memset(a, 0, sizeof(a));
          ^
0_0_33807972_16670.cpp:80:10: error: 'c' was not declared in this scope
   memset(c, 0, sizeof(c));
          ^


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-22 15:43:13, Gzip enabled