0_0_25629648_9898\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_25629648_9898\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_25629648_9898\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_25629648_9898\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_25629648_9898\Main.java:4: 错误: 非法字符: '#'
#include<vector>
^
0_0_25629648_9898\Main.java:5: 错误: 非法字符: '#'
#include<queue>
^
0_0_25629648_9898\Main.java:8: 错误: 需要class, interface或enum
const int maxn = 1000;
^
0_0_25629648_9898\Main.java:9: 错误: 需要class, interface或enum
const int inf = 0x3f3f3f3f;
^
0_0_25629648_9898\Main.java:10: 错误: 需要class, interface或enum
struct Edge
^
0_0_25629648_9898\Main.java:14: 错误: 需要class, interface或enum
Edge(){}
^
0_0_25629648_9898\Main.java:17: 错误: 需要class, interface或enum
struct MCMF
^
0_0_25629648_9898\Main.java:20: 错误: 需要class, interface或enum
vector<Edge> edge;
^
0_0_25629648_9898\Main.java:21: 错误: 需要class, interface或enum
vector<int> G[maxn<<1];
^
0_0_25629648_9898\Main.java:22: 错误: 需要class, interface或enum
int dis[maxn<<1];
^
0_0_25629648_9898\Main.java:23: 错误: 需要class, interface或enum
int pre[maxn<<1];
^
0_0_25629648_9898\Main.java:24: 错误: 需要class, interface或enum
bool inq[maxn<<1];
^
0_0_25629648_9898\Main.java:26: 错误: 需要class, interface或enum
void init(int n,int s,int t)
^
0_0_25629648_9898\Main.java:29: 错误: 需要class, interface或enum
edge.clear();
^
0_0_25629648_9898\Main.java:30: 错误: 需要class, interface或enum
for(int i = 0; i <= n; i++) G[i].clear();
^
0_0_25629648_9898\Main.java:30: 错误: 需要class, interface或enum
for(int i = 0; i <= n; i++) G[i].clear();
^
0_0_25629648_9898\Main.java:30: 错误: 需要class, interface或enum
for(int i = 0; i <= n; i++) G[i].clear();
^
0_0_25629648_9898\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:36: 错误: 需要class, interface或enum
edge.push_back(Edge(v,u,0,-cost));
^
0_0_25629648_9898\Main.java:37: 错误: 需要class, interface或enum
int m = edge.size();
^
0_0_25629648_9898\Main.java:38: 错误: 需要class, interface或enum
G[u].push_back(m-2);
^
0_0_25629648_9898\Main.java:39: 错误: 需要class, interface或enum
G[v].push_back(m-1);
^
0_0_25629648_9898\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:45: 错误: 需要class, interface或enum
memset(dis,inf,sizeof(dis));
^
0_0_25629648_9898\Main.java:46: 错误: 需要class, interface或enum
memset(pre,-1,sizeof(pre));
^
0_0_25629648_9898\Main.java:47: 错误: 需要class, interface或enum
memset(inq,false,sizeof(inq));
^
0_0_25629648_9898\Main.java:48: 错误: 需要class, interface或enum
dis[s] = 0;
^
0_0_25629648_9898\Main.java:49: 错误: 需要class, interface或enum
inq[s] = true;
^
0_0_25629648_9898\Main.java:50: 错误: 需要class, interface或enum
q.push(s);
^
0_0_25629648_9898\Main.java:51: 错误: 需要class, interface或enum
while(!q.empty())
^
0_0_25629648_9898\Main.java:54: 错误: 需要class, interface或enum
q.pop();
^
0_0_25629648_9898\Main.java:55: 错误: 需要class, interface或enum
inq[u] = false;
^
0_0_25629648_9898\Main.java:56: 错误: 需要class, interface或enum
for(int i = 0; i < G[u].size(); i++)
^
0_0_25629648_9898\Main.java:56: 错误: 需要class, interface或enum
for(int i = 0; i < G[u].size(); i++)
^
0_0_25629648_9898\Main.java:56: 错误: 需要class, interface或enum
for(int i = 0; i < G[u].size(); i++)
^
0_0_25629648_9898\Main.java:59: 错误: 需要class, interface或enum
if(dis[v] > dis[u] + edge[G[u][i]].cost && edge[G[u][i]].flow > 0)
^
0_0_25629648_9898\Main.java:62: 错误: 需要class, interface或enum
pre[v] = G[u][i];
^
0_0_25629648_9898\Main.java:63: 错误: 需要class, interface或enum
if(inq[v] == false)
^
0_0_25629648_9898\Main.java:66: 错误: 需要class, interface或enum
q.push(v);
^
0_0_25629648_9898\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:72: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:77: 错误: 需要class, interface或enum
while(spfa())
^
0_0_25629648_9898\Main.java:80: 错误: 需要class, interface或enum
for(int i = pre[t]; i != -1; i = pre[edge[i].from])
^
0_0_25629648_9898\Main.java:80: 错误: 需要class, interface或enum
for(int i = pre[t]; i != -1; i = pre[edge[i].from])
^
0_0_25629648_9898\Main.java:80: 错误: 需要class, interface或enum
for(int i = pre[t]; i != -1; i = pre[edge[i].from])
^
0_0_25629648_9898\Main.java:82: 错误: 需要class, interface或enum
for(int i = pre[t]; i != -1; i = pre[edge[i].from])
^
0_0_25629648_9898\Main.java:82: 错误: 需要class, interface或enum
for(int i = pre[t]; i != -1; i = pre[edge[i].from])
^
0_0_25629648_9898\Main.java:82: 错误: 需要class, interface或enum
for(int i = pre[t]; i != -1; i = pre[edge[i].from])
^
0_0_25629648_9898\Main.java:85: 错误: 需要class, interface或enum
edge[i^1].flow += minflow;
^
0_0_25629648_9898\Main.java:86: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:92: 错误: 需要class, interface或enum
int n,m,k,p;
^
0_0_25629648_9898\Main.java:93: 错误: 需要class, interface或enum
int d[maxn][maxn],bel[105];
^
0_0_25629648_9898\Main.java:95: 错误: 需要class, interface或enum
void floyd()
^
0_0_25629648_9898\Main.java:97: 错误: 需要class, interface或enum
for(int k = 1; k <= n + m; k++)
^
0_0_25629648_9898\Main.java:97: 错误: 需要class, interface或enum
for(int k = 1; k <= n + m; k++)
^
0_0_25629648_9898\Main.java:98: 错误: 需要class, interface或enum
for(int i = 1; i <= n + m; i++)
^
0_0_25629648_9898\Main.java:98: 错误: 需要class, interface或enum
for(int i = 1; i <= n + m; i++)
^
0_0_25629648_9898\Main.java:99: 错误: 需要class, interface或enum
for(int j = 1; j <= n + m; j++)
^
0_0_25629648_9898\Main.java:99: 错误: 需要class, interface或enum
for(int j = 1; j <= n + m; j++)
^
0_0_25629648_9898\Main.java:101: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:106: 错误: 需要class, interface或enum
while(scanf("%d%d%d%d",&n,&m,&k,&p)!=EOF)
^
0_0_25629648_9898\Main.java:109: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_25629648_9898\Main.java:109: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_25629648_9898\Main.java:109: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_25629648_9898\Main.java:112: 错误: 需要class, interface或enum
bel[i] += n;
^
0_0_25629648_9898\Main.java:113: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:114: 错误: 需要class, interface或enum
for(int i = 1; i <= k; i++)
^
0_0_25629648_9898\Main.java:114: 错误: 需要class, interface或enum
for(int i = 1; i <= k; i++)
^
0_0_25629648_9898\Main.java:117: 错误: 需要class, interface或enum
d[n + u][n + v] = d[n + v][n + u] = min(d[n + u][n + v],c);
^
0_0_25629648_9898\Main.java:118: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:119: 错误: 需要class, interface或enum
for(int i = 1; i <= p; i++)
^
0_0_25629648_9898\Main.java:119: 错误: 需要class, interface或enum
for(int i = 1; i <= p; i++)
^
0_0_25629648_9898\Main.java:122: 错误: 需要class, interface或enum
d[n + v][u] = min(d[n + v][u],c);
^
0_0_25629648_9898\Main.java:123: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:125: 错误: 需要class, interface或enum
int s = 0, t = n + m + 1;
^
0_0_25629648_9898\Main.java:126: 错误: 需要class, interface或enum
mcmf.init(n + m + 2,s,t);
^
0_0_25629648_9898\Main.java:127: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_25629648_9898\Main.java:127: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_25629648_9898\Main.java:127: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_25629648_9898\Main.java:130: 错误: 需要class, interface或enum
mcmf.addedge(bel[i],t,1,0);
^
0_0_25629648_9898\Main.java:131: 错误: 需要class, interface或enum
for(int j = 1; j <= n; j++)
^
0_0_25629648_9898\Main.java:131: 错误: 需要class, interface或enum
for(int j = 1; j <= n; j++)
^
0_0_25629648_9898\Main.java:131: 错误: 需要class, interface或enum
for(int j = 1; j <= n; j++)
^
0_0_25629648_9898\Main.java:133: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:135: 错误: 需要class, interface或enum
}
^
0_0_25629648_9898\Main.java:137: 错误: 需要class, interface或enum
}
^
92 个错误
|