0_0_13796609_7462\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_13796609_7462\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_13796609_7462\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_13796609_7462\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_13796609_7462\Main.java:4: 错误: 非法字符: '#'
#include <queue>
^
0_0_13796609_7462\Main.java:5: 错误: 非法字符: '#'
#include <vector>
^
0_0_13796609_7462\Main.java:8: 错误: 非法字符: '#'
#define REP(i, a, b) for(int i = a; i < b; i++)
^
0_0_13796609_7462\Main.java:8: 错误: 需要class, interface或enum
#define REP(i, a, b) for(int i = a; i < b; i++)
^
0_0_13796609_7462\Main.java:8: 错误: 需要class, interface或enum
#define REP(i, a, b) for(int i = a; i < b; i++)
^
0_0_13796609_7462\Main.java:8: 错误: 需要class, interface或enum
#define REP(i, a, b) for(int i = a; i < b; i++)
^
0_0_13796609_7462\Main.java:9: 错误: 非法字符: '#'
#define FOR(i, a, b) for(int i = a; i <= b; i++)
^
0_0_13796609_7462\Main.java:9: 错误: 需要class, interface或enum
#define FOR(i, a, b) for(int i = a; i <= b; i++)
^
0_0_13796609_7462\Main.java:9: 错误: 需要class, interface或enum
#define FOR(i, a, b) for(int i = a; i <= b; i++)
^
0_0_13796609_7462\Main.java:10: 错误: 非法字符: '#'
#define CLR(a, x) memset(a, x, sizeof(a))
^
0_0_13796609_7462\Main.java:11: 错误: 非法字符: '#'
#define bug puts("***bug***")
^
0_0_13796609_7462\Main.java:14: 错误: 需要class, interface或enum
const int INF = 1e9;
^
0_0_13796609_7462\Main.java:16: 错误: 需要class, interface或enum
struct Edge{
^
0_0_13796609_7462\Main.java:18: 错误: 需要class, interface或enum
Edge(){}
^
0_0_13796609_7462\Main.java:22: 错误: 需要class, interface或enum
struct ISAP{
^
0_0_13796609_7462\Main.java:24: 错误: 需要class, interface或enum
int d[maxn], p[maxn], cur[maxn], num[maxn];
^
0_0_13796609_7462\Main.java:25: 错误: 需要class, interface或enum
vector<int> G[maxn];
^
0_0_13796609_7462\Main.java:26: 错误: 需要class, interface或enum
vector<Edge> edges;
^
0_0_13796609_7462\Main.java:27: 错误: 需要class, interface或enum
void init(int n){
^
0_0_13796609_7462\Main.java:29: 错误: 需要class, interface或enum
REP(i, 0, n) G[i].clear();
^
0_0_13796609_7462\Main.java:30: 错误: 需要class, interface或enum
edges.clear();
^
0_0_13796609_7462\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:34: 错误: 需要class, interface或enum
edges.push_back(Edge(v, u, 0, 0));
^
0_0_13796609_7462\Main.java:35: 错误: 需要class, interface或enum
int m = edges.size();
^
0_0_13796609_7462\Main.java:36: 错误: 需要class, interface或enum
G[u].push_back(m - 2);
^
0_0_13796609_7462\Main.java:37: 错误: 需要class, interface或enum
G[v].push_back(m - 1);
^
0_0_13796609_7462\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:41: 错误: 需要class, interface或enum
d[t] = 0;
^
0_0_13796609_7462\Main.java:42: 错误: 需要class, interface或enum
queue<int> Q;
^
0_0_13796609_7462\Main.java:43: 错误: 需要class, interface或enum
Q.push(t);
^
0_0_13796609_7462\Main.java:44: 错误: 需要class, interface或enum
while(!Q.empty()){
^
0_0_13796609_7462\Main.java:45: 错误: 需要class, interface或enum
int x = Q.front(); Q.pop();
^
0_0_13796609_7462\Main.java:46: 错误: 需要class, interface或enum
REP(i, 0, G[x].size()){
^
0_0_13796609_7462\Main.java:48: 错误: 需要class, interface或enum
if(e.cap > 0 || d[e.v] <= d[x] + 1) continue;
^
0_0_13796609_7462\Main.java:49: 错误: 需要class, interface或enum
d[e.v] = d[x] + 1;
^
0_0_13796609_7462\Main.java:50: 错误: 需要class, interface或enum
Q.push(e.v);
^
0_0_13796609_7462\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:56: 错误: 需要class, interface或enum
while(x != s){
^
0_0_13796609_7462\Main.java:58: 错误: 需要class, interface或enum
a = min(a, e.cap - e.flow);
^
0_0_13796609_7462\Main.java:59: 错误: 需要class, interface或enum
x = e.u;
^
0_0_13796609_7462\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:62: 错误: 需要class, interface或enum
while(x != s){
^
0_0_13796609_7462\Main.java:64: 错误: 需要class, interface或enum
edges[p[x]^1].flow -= a;
^
0_0_13796609_7462\Main.java:65: 错误: 需要class, interface或enum
x = edges[p[x]].u;
^
0_0_13796609_7462\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:70: 错误: 需要class, interface或enum
this -> s = s; this -> t = t;
^
0_0_13796609_7462\Main.java:71: 错误: 需要class, interface或enum
CLR(cur, 0); CLR(num, 0);
^
0_0_13796609_7462\Main.java:71: 错误: 需要class, interface或enum
CLR(cur, 0); CLR(num, 0);
^
0_0_13796609_7462\Main.java:72: 错误: 需要class, interface或enum
bfs();
^
0_0_13796609_7462\Main.java:73: 错误: 需要class, interface或enum
REP(i, 0, n) if(d[i] != INF) num[d[i]]++;
^
0_0_13796609_7462\Main.java:74: 错误: 需要class, interface或enum
int x = s, flow = 0;
^
0_0_13796609_7462\Main.java:75: 错误: 需要class, interface或enum
while(d[s] < n){
^
0_0_13796609_7462\Main.java:78: 错误: 需要class, interface或enum
x = s;
^
0_0_13796609_7462\Main.java:79: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:81: 错误: 需要class, interface或enum
REP(i, cur[x], G[x].size()){
^
0_0_13796609_7462\Main.java:83: 错误: 需要class, interface或enum
if(e.cap > e.flow && d[e.v] + 1 == d[x]){
^
0_0_13796609_7462\Main.java:85: 错误: 需要class, interface或enum
cur[x] = i;
^
0_0_13796609_7462\Main.java:86: 错误: 需要class, interface或enum
p[e.v] = G[x][i];
^
0_0_13796609_7462\Main.java:87: 错误: 需要class, interface或enum
x = e.v;
^
0_0_13796609_7462\Main.java:88: 错误: 需要class, interface或enum
break;
^
0_0_13796609_7462\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:93: 错误: 需要class, interface或enum
REP(i, 0, G[x].size()){
^
0_0_13796609_7462\Main.java:95: 错误: 需要class, interface或enum
if(e.cap > e.flow) m = min(m, d[e.v]);
^
0_0_13796609_7462\Main.java:96: 错误: 需要class, interface或enum
}
^
0_0_13796609_7462\Main.java:98: 错误: 需要class, interface或enum
++num[d[x] = m + 1];
^
0_0_13796609_7462\Main.java:99: 错误: 需要class, interface或enum
cur[x] = 0;
^
0_0_13796609_7462\Main.java:100: 错误: 需要class, interface或enum
|