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_38435582_20872.cpp:2:1: error: 'll' does not name a type
 ll ans;
 ^
0_0_38435582_20872.cpp:3:10: error: 'N' was not declared in this scope
 int head[N], d[N];
          ^
0_0_38435582_20872.cpp:3:16: error: 'N' was not declared in this scope
 int head[N], d[N];
                ^
0_0_38435582_20872.cpp:5:2: error: 'll' does not name a type
  ll f;
  ^
0_0_38435582_20872.cpp:7:8: error: 'M' was not declared in this scope
 } edge[M];
        ^
0_0_38435582_20872.cpp:8:24: error: 'll' has not been declared
 void add(int x, int y, ll f) {
                        ^
0_0_38435582_20872.cpp: In function 'void add(int, int, int)':
0_0_38435582_20872.cpp:9:2: error: 'edge' was not declared in this scope
  edge[tot] = {f, y, head[x]};
  ^
0_0_38435582_20872.cpp:9:21: error: 'head' was not declared in this scope
  edge[tot] = {f, y, head[x]};
                     ^
0_0_38435582_20872.cpp: In function 'bool bfs()':
0_0_38435582_20872.cpp:15:29: error: 'N' was not declared in this scope
  int front = 0, rear = 0, q[N], u, v, i;
                             ^
0_0_38435582_20872.cpp:16:9: error: 'd' was not declared in this scope
  memset(d, -1, sizeof(d));
         ^
0_0_38435582_20872.cpp:16:25: error: 'memset' was not declared in this scope
  memset(d, -1, sizeof(d));
                         ^
0_0_38435582_20872.cpp:18:2: error: 'q' was not declared in this scope
  q[rear++] = s;
  ^
0_0_38435582_20872.cpp:21:12: error: 'head' was not declared in this scope
   for (i = head[u]; i != -1; i = edge[i].nxt) {
            ^
0_0_38435582_20872.cpp:21:34: error: 'edge' was not declared in this scope
   for (i = head[u]; i != -1; i = edge[i].nxt) {
                                  ^
0_0_38435582_20872.cpp: At global scope:
0_0_38435582_20872.cpp:32:1: error: 'll' does not name a type
 ll dfs(int s, ll limit) {
 ^
0_0_38435582_20872.cpp: In function 'void dinic()':
0_0_38435582_20872.cpp:50:16: error: 'ans' was not declared in this scope
  while (bfs()) ans += dfs(s, INF);
                ^
0_0_38435582_20872.cpp:50:30: error: 'INF' was not declared in this scope
  while (bfs()) ans += dfs(s, INF);
                              ^
0_0_38435582_20872.cpp:50:33: error: 'dfs' was not declared in this scope
  while (bfs()) ans += dfs(s, INF);
                                 ^


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-06-16 23:25:10, Gzip enabled