0_0_18978721_2899\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_18978721_2899\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_18978721_2899\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_18978721_2899\Main.java:3: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_18978721_2899\Main.java:4: 错误: 非法字符: '#'
#include <string>
^
0_0_18978721_2899\Main.java:5: 错误: 非法字符: '#'
#include <iostream>
^
0_0_18978721_2899\Main.java:6: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_18978721_2899\Main.java:7: 错误: 非法字符: '#'
#include <sstream>
^
0_0_18978721_2899\Main.java:8: 错误: 非法字符: '#'
#include <cmath>
^
0_0_18978721_2899\Main.java:10: 错误: 非法字符: '#'
#include <queue>
^
0_0_18978721_2899\Main.java:10: 错误: 需要class, interface或enum
#include <queue>
^
0_0_18978721_2899\Main.java:11: 错误: 非法字符: '#'
#include <stack>
^
0_0_18978721_2899\Main.java:12: 错误: 非法字符: '#'
#include <vector>
^
0_0_18978721_2899\Main.java:13: 错误: 非法字符: '#'
#include <deque>
^
0_0_18978721_2899\Main.java:14: 错误: 非法字符: '#'
#include <set>
^
0_0_18978721_2899\Main.java:15: 错误: 非法字符: '#'
#include <map>
^
0_0_18978721_2899\Main.java:16: 错误: 非法字符: '#'
#include <time.h>;
^
0_0_18978721_2899\Main.java:17: 错误: 非法字符: '#'
#define cler(arr, val) memset(arr, val, sizeof(arr))
^
0_0_18978721_2899\Main.java:17: 错误: 需要class, interface或enum
#define cler(arr, val) memset(arr, val, sizeof(arr))
^
0_0_18978721_2899\Main.java:18: 错误: 非法字符: '#'
#define FOR(i,a,b) for(int i=a;i<=b;i++)
^
0_0_18978721_2899\Main.java:18: 错误: 需要class, interface或enum
#define FOR(i,a,b) for(int i=a;i<=b;i++)
^
0_0_18978721_2899\Main.java:18: 错误: 需要class, interface或enum
#define FOR(i,a,b) for(int i=a;i<=b;i++)
^
0_0_18978721_2899\Main.java:19: 错误: 非法字符: '#'
#define IN freopen ("in.txt" , "r" , stdin);
^
0_0_18978721_2899\Main.java:20: 错误: 非法字符: '#'
#define OUT freopen ("out.txt" , "w" , stdout);
^
0_0_18978721_2899\Main.java:20: 错误: 需要class, interface或enum
#define OUT freopen ("out.txt" , "w" , stdout);
^
0_0_18978721_2899\Main.java:21: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_18978721_2899\Main.java:22: 错误: 需要class, interface或enum
const int MAXN = 1004;
^
0_0_18978721_2899\Main.java:23: 错误: 需要class, interface或enum
const int MAXM = 4100;
^
0_0_18978721_2899\Main.java:24: 错误: 需要class, interface或enum
const int INF = 0x3f3f3f3f;
^
0_0_18978721_2899\Main.java:25: 错误: 需要class, interface或enum
const int mod = 1000000007;
^
0_0_18978721_2899\Main.java:26: 错误: 需要class, interface或enum
struct Edge
^
0_0_18978721_2899\Main.java:29: 错误: 需要class, interface或enum
}edge[MAXM];//注意是MAXM
^
0_0_18978721_2899\Main.java:30: 错误: 需要class, interface或enum
int tol;
^
0_0_18978721_2899\Main.java:31: 错误: 需要class, interface或enum
int head[MAXN];
^
0_0_18978721_2899\Main.java:32: 错误: 需要class, interface或enum
int gap[MAXN],dep[MAXN],cur[MAXN];
^
0_0_18978721_2899\Main.java:33: 错误: 需要class, interface或enum
void init()
^
0_0_18978721_2899\Main.java:36: 错误: 需要class, interface或enum
memset(head,-1,sizeof (head));
^
0_0_18978721_2899\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_18978721_2899\Main.java:40: 错误: 需要class, interface或enum
edge[tol].to = v; edge[tol].cap = w; edge[tol].flow = 0;
^
0_0_18978721_2899\Main.java:40: 错误: 需要class, interface或enum
edge[tol].to = v; edge[tol].cap = w; edge[tol].flow = 0;
^
0_0_18978721_2899\Main.java:41: 错误: 需要class, interface或enum
edge[tol].next = head[u]; head[u] = tol++;
^
0_0_18978721_2899\Main.java:41: 错误: 需要class, interface或enum
edge[tol].next = head[u]; head[u] = tol++;
^
0_0_18978721_2899\Main.java:42: 错误: 需要class, interface或enum
edge[tol].to = u; edge[tol].cap = rw; edge[tol].flow = 0;
^
0_0_18978721_2899\Main.java:42: 错误: 需要class, interface或enum
edge[tol].to = u; edge[tol].cap = rw; edge[tol].flow = 0;
^
0_0_18978721_2899\Main.java:42: 错误: 需要class, interface或enum
edge[tol].to = u; edge[tol].cap = rw; edge[tol].flow = 0;
^
0_0_18978721_2899\Main.java:43: 错误: 需要class, interface或enum
edge[tol].next = head[v]; head[v] = tol++;
^
0_0_18978721_2899\Main.java:43: 错误: 需要class, interface或enum
edge[tol].next = head[v]; head[v] = tol++;
^
0_0_18978721_2899\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_18978721_2899\Main.java:46: 错误: 需要class, interface或enum
void BFS(int start,int end)
^
0_0_18978721_2899\Main.java:49: 错误: 需要class, interface或enum
memset(gap,0,sizeof(gap));
^
0_0_18978721_2899\Main.java:50: 错误: 需要class, interface或enum
gap[0] = 1;
^
0_0_18978721_2899\Main.java:51: 错误: 需要class, interface或enum
int front = 0, rear = 0;
^
0_0_18978721_2899\Main.java:52: 错误: 需要class, interface或enum
dep[end] = 0;
^
0_0_18978721_2899\Main.java:53: 错误: 需要class, interface或enum
Q[rear++] = end;
^
0_0_18978721_2899\Main.java:54: 错误: 需要class, interface或enum
while(front != rear)
^
0_0_18978721_2899\Main.java:57: 错误: 需要class, interface或enum
for(int i = head[u]; i != -1; i = edge[i].next)
^
0_0_18978721_2899\Main.java:57: 错误: 需要class, interface或enum
for(int i = head[u]; i != -1; i = edge[i].next)
^
0_0_18978721_2899\Main.java:57: 错误: 需要class, interface或enum
for(int i = head[u]; i != -1; i = edge[i].next)
^
0_0_18978721_2899\Main.java:60: 错误: 需要class, interface或enum
if(dep[v] != -1)continue;
^
0_0_18978721_2899\Main.java:61: 错误: 需要class, interface或enum
Q[rear++] = v;
^
0_0_18978721_2899\Main.java:62: 错误: 需要class, interface或enum
dep[v] = dep[u] + 1;
^
0_0_18978721_2899\Main.java:63: 错误: 需要class, interface或enum
gap[dep[v]]++;
^
0_0_18978721_2899\Main.java:64: 错误: 需要class, interface或enum
}
^
0_0_18978721_2899\Main.java:68: 错误: 需要class, interface或enum
int sap(int start,int end, int N)
^
0_0_18978721_2899\Main.java:71: 错误: 需要class, interface或enum
memcpy(cur,head,sizeof(head));
^
0_0_18978721_2899\Main.java:72: 错误: 需要class, interface或enum
int top = 0;
^
0_0_18978721_2899\Main.java:73: 错误: 需要class, interface或enum
int u = start;
^
0_0_18978721_2899\Main.java:74: 错误: 需要class, interface或enum
int ans = 0;
^
0_0_18978721_2899\Main.java:75: 错误: 需要class, interface或enum
int i;
^
0_0_18978721_2899\Main.java:76: 错误: 需要class, interface或enum
while(dep[start] < N)
^
0_0_18978721_2899\Main.java:81: 错误: 需要class, interface或enum
int inser;
^
0_0_18978721_2899\Main.java:82: 错误: 需要class, interface或enum
for( i = 0;i < top;i++)
^
0_0_18978721_2899\Main.java:82: 错误: 需要class, interface或enum
for( i = 0;i < top;i++)
^
0_0_18978721_2899\Main.java:82: 错误: 需要class, interface或enum
for( i = 0;i < top;i++)
^
0_0_18978721_2899\Main.java:87: 错误: 需要class, interface或enum
inser = i;
^
0_0_18978721_2899\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_18978721_2899\Main.java:90: 错误: 需要class, interface或enum
for( i = 0;i < top;i++)
^
0_0_18978721_2899\Main.java:90: 错误: 需要class, interface或enum
for( i = 0;i < top;i++)
^
0_0_18978721_2899\Main.java:93: 错误: 需要class, interface或enum
edge[S[i]^1].flow -= Min;
^
0_0_18978721_2899\Main.java:94: 错误: 需要class, interface或enum
}
^
0_0_18978721_2899\Main.java:96: 错误: 需要class, interface或enum
out=max(Min,out);
^
0_0_18978721_2899\Main.java:97: 错误: 需要class, interface或enum
top = inser;
^
0_0_18978721_2899\Main.java:98: 错误: 需要class, interface或enum
u = edge[S[top]^1].to;
^
0_0_18978721_2899\Main.java:99: 错误: 需要class, interface或enum
continue;
^
0_0_18978721_2899\Main.java:100: 错误: 需要class, interface或enum
}
^
0_0_18978721_2899\Main.java:102: 错误: 需要class, interface或enum
int v;
^
0_0_18978721_2899\Main.java:103: 错误: 需要class, interface或enum
for( i = cur[u]; i != -1; i = edge[i]. next)
^
0_0_18978721_2899\Main.java:103: 错误: 需要class, interface或enum
for( i = cur[u]; i != -1; i = edge[i]. next)
^
0_0_18978721_2899\Main.java:103: 错误: 需要class, interface或enum
for( i = cur[u]; i != -1; i = edge[i]. next)
^
0_0_18978721_2899\Main.java:106
|