0_0_22126624_12279\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_22126624_12279\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_22126624_12279\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22126624_12279\Main.java:3: 错误: 非法字符: '#'
#include<cmath>
^
0_0_22126624_12279\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_22126624_12279\Main.java:5: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_22126624_12279\Main.java:6: 错误: 非法字符: '#'
#include<queue>
^
0_0_22126624_12279\Main.java:8: 错误: 需要class, interface或enum
const int MAXN=10010;
^
0_0_22126624_12279\Main.java:9: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_22126624_12279\Main.java:10: 错误: 需要class, interface或enum
struct Edge
^
0_0_22126624_12279\Main.java:13: 错误: 需要class, interface或enum
Edge(){}
^
0_0_22126624_12279\Main.java:17: 错误: 需要class, interface或enum
int head[MAXN], edgenum, cur[MAXN];
^
0_0_22126624_12279\Main.java:18: 错误: 需要class, interface或enum
int dist[MAXN];
^
0_0_22126624_12279\Main.java:19: 错误: 需要class, interface或enum
bool vis[MAXN];
^
0_0_22126624_12279\Main.java:20: 错误: 需要class, interface或enum
void init()
^
0_0_22126624_12279\Main.java:23: 错误: 需要class, interface或enum
memset(head, -1, sizeof(head));
^
0_0_22126624_12279\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:28: 错误: 需要class, interface或enum
edge[edgenum] = E1;
^
0_0_22126624_12279\Main.java:29: 错误: 需要class, interface或enum
head[u] = edgenum++;
^
0_0_22126624_12279\Main.java:30: 错误: 需要class, interface或enum
Edge E2 = {v, u, 0, 0, head[v]};
^
0_0_22126624_12279\Main.java:31: 错误: 需要class, interface或enum
edge[edgenum] = E2;
^
0_0_22126624_12279\Main.java:32: 错误: 需要class, interface或enum
head[v] = edgenum++;
^
0_0_22126624_12279\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:37: 错误: 需要class, interface或enum
memset(dist, -1, sizeof(dist));
^
0_0_22126624_12279\Main.java:38: 错误: 需要class, interface或enum
memset(vis, false, sizeof(vis));
^
0_0_22126624_12279\Main.java:39: 错误: 需要class, interface或enum
dist[s] = 0;
^
0_0_22126624_12279\Main.java:40: 错误: 需要class, interface或enum
vis[s] = true;
^
0_0_22126624_12279\Main.java:41: 错误: 需要class, interface或enum
Q.push(s);
^
0_0_22126624_12279\Main.java:42: 错误: 需要class, interface或enum
while(!Q.empty())
^
0_0_22126624_12279\Main.java:45: 错误: 需要class, interface或enum
Q.pop();
^
0_0_22126624_12279\Main.java:46: 错误: 需要class, interface或enum
for(int i = head[u]; i != -1; i = edge[i].next)
^
0_0_22126624_12279\Main.java:46: 错误: 需要class, interface或enum
for(int i = head[u]; i != -1; i = edge[i].next)
^
0_0_22126624_12279\Main.java:46: 错误: 需要class, interface或enum
for(int i = head[u]; i != -1; i = edge[i].next)
^
0_0_22126624_12279\Main.java:49: 错误: 需要class, interface或enum
if(!vis[E.to] && E.cap > E.flow)
^
0_0_22126624_12279\Main.java:52: 错误: 需要class, interface或enum
vis[E.to] = true;
^
0_0_22126624_12279\Main.java:53: 错误: 需要class, interface或enum
if(E.to == t) return true;
^
0_0_22126624_12279\Main.java:54: 错误: 需要class, interface或enum
Q.push(E.to);
^
0_0_22126624_12279\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:63: 错误: 需要class, interface或enum
int flow = 0, f;
^
0_0_22126624_12279\Main.java:64: 错误: 需要class, interface或enum
for(int &i = cur[x]; i != -1; i = edge[i].next)
^
0_0_22126624_12279\Main.java:64: 错误: 需要class, interface或enum
for(int &i = cur[x]; i != -1; i = edge[i].next)
^
0_0_22126624_12279\Main.java:64: 错误: 需要class, interface或enum
for(int &i = cur[x]; i != -1; i = edge[i].next)
^
0_0_22126624_12279\Main.java:67: 错误: 需要class, interface或enum
if(dist[E.to] == dist[x] + 1 && (f = DFS(E.to, min(a, E.cap-E.flow), t)) > 0)
^
0_0_22126624_12279\Main.java:70: 错误: 需要class, interface或enum
edge[i^1].flow -= f;
^
0_0_22126624_12279\Main.java:71: 错误: 需要class, interface或enum
flow += f;
^
0_0_22126624_12279\Main.java:72: 错误: 需要class, interface或enum
a -= f;
^
0_0_22126624_12279\Main.java:73: 错误: 需要class, interface或enum
if(a == 0) break;
^
0_0_22126624_12279\Main.java:74: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:81: 错误: 需要class, interface或enum
while(BFS(s, t))
^
0_0_22126624_12279\Main.java:84: 错误: 需要class, interface或enum
flow += DFS(s, INF, t);
^
0_0_22126624_12279\Main.java:85: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:91: 错误: 需要class, interface或enum
scanf("%d",&T);
^
0_0_22126624_12279\Main.java:92: 错误: 需要class, interface或enum
while(T--)
^
0_0_22126624_12279\Main.java:95: 错误: 需要class, interface或enum
int n,m;
^
0_0_22126624_12279\Main.java:96: 错误: 需要class, interface或enum
scanf("%d%d",&n,&m);
^
0_0_22126624_12279\Main.java:97: 错误: 需要class, interface或enum
int s,t;
^
0_0_22126624_12279\Main.java:98: 错误: 需要class, interface或enum
scanf("%d%d",&s,&t);
^
0_0_22126624_12279\Main.java:99: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++)
^
0_0_22126624_12279\Main.java:99: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++)
^
0_0_22126624_12279\Main.java:99: 错误: 需要class, interface或enum
for(int i=1;i<=m;i++)
^
0_0_22126624_12279\Main.java:102: 错误: 需要class, interface或enum
scanf("%d%d%d",&u,&v,&w);
^
0_0_22126624_12279\Main.java:103: 错误: 需要class, interface或enum
addEdge(u,v,w*300+1);
^
0_0_22126624_12279\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:106: 错误: 需要class, interface或enum
}
^
0_0_22126624_12279\Main.java:108: 错误: 需要class, interface或enum
}
^
68 个错误
|