0_0_19311823_21235.cpp:14:1: error: 'inthead' does not name a type
inthead[MAXN], ad;
^
0_0_19311823_21235.cpp: In function 'int voidclear()':
0_0_19311823_21235.cpp:17:5: error: 'ad' was not declared in this scope
ad = 0;
^
0_0_19311823_21235.cpp:18:12: error: 'head' was not declared in this scope
memset(head, -1, sizeof(head));
^
0_0_19311823_21235.cpp: In function 'void insert(int, int, int)':
0_0_19311823_21235.cpp:22:11: error: 'ad' was not declared in this scope
edges[ad].to = v, edges[ad].flux = flux, edges[ad].next = head[u], head[u] = ad ++;
^
0_0_19311823_21235.cpp:22:63: error: 'head' was not declared in this scope
edges[ad].to = v, edges[ad].flux = flux, edges[ad].next = head[u], head[u] = ad ++;
^
0_0_19311823_21235.cpp: In function 'void Built(int, int, int&)':
0_0_19311823_21235.cpp:29:11: error: 'clear' was not declared in this scope
clear();
^
0_0_19311823_21235.cpp: At global scope:
0_0_19311823_21235.cpp:41:1: error: 'intqueue' does not name a type
intqueue[MAXN], cur[MAXN], vis[MAXN], d[MAXN];
^
0_0_19311823_21235.cpp: In function 'int bfs(int, int)':
0_0_19311823_21235.cpp:45:12: error: 'd' was not declared in this scope
memset(d, -1, sizeof(d));
^
0_0_19311823_21235.cpp:47:5: error: 'queue' was not declared in this scope
queue[0] = s;
^
0_0_19311823_21235.cpp:50:16: error: 'head' was not declared in this scope
for(p = head[u]; ~p; p = edges[p].next){
^
0_0_19311823_21235.cpp: In function 'int dfs(int, int)':
0_0_19311823_21235.cpp:63:5: error: 'vis' was not declared in this scope
vis[x] = 1;
^
0_0_19311823_21235.cpp:64:17: error: 'cur' was not declared in this scope
for(int p = cur[x], temp, v; ~p; p = edges[p].next, cur[x] = p){
^
0_0_19311823_21235.cpp:65:8: error: 'v' was not declared in this scope
v = edges[p].to;
^
0_0_19311823_21235.cpp:66:37: error: 'd' was not declared in this scope
if(!vis[v], edges[p].flux && d[v] == d[x] + 1)
^
0_0_19311823_21235.cpp:67:15: error: 'temp' was not declared in this scope
if(temp = dfs(v, low < edges[p].flux ? low : edges[p].flux)){
^
0_0_19311823_21235.cpp: In function 'int dinic(int, int)':
0_0_19311823_21235.cpp:80:33: error: 'cur' was not declared in this scope
for(i = s; i <= t; i ++) cur[i] = head[i];
^
0_0_19311823_21235.cpp:80:42: error: 'head' was not declared in this scope
for(i = s; i <= t; i ++) cur[i] = head[i];
^
0_0_19311823_21235.cpp:82:19: error: 'vis' was not declared in this scope
memset(vis, 0, sizeof(vis));
^
|