0_0_14703292_10397\Main.java:1: 错误: 非法字符: '#'
#include <cstring>
^
0_0_14703292_10397\Main.java:1: 错误: 需要class, interface或enum
#include <cstring>
^
0_0_14703292_10397\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_14703292_10397\Main.java:3: 错误: 非法字符: '#'
#include <queue>
^
0_0_14703292_10397\Main.java:4: 错误: 非法字符: '#'
#define MAXN 50000
^
0_0_14703292_10397\Main.java:5: 错误: 非法字符: '#'
#define MAXM 500000
^
0_0_14703292_10397\Main.java:6: 错误: 非法字符: '#'
#define inf 0x3f3f3f3f
^
0_0_14703292_10397\Main.java:8: 错误: 需要class, interface或enum
struct node
^
0_0_14703292_10397\Main.java:11: 错误: 需要class, interface或enum
};
^
0_0_14703292_10397\Main.java:12: 错误: 需要class, interface或enum
node e[MAXM*3];
^
0_0_14703292_10397\Main.java:13: 错误: 需要class, interface或enum
int first[MAXN],next[MAXM*3];
^
0_0_14703292_10397\Main.java:14: 错误: 需要class, interface或enum
int gap[MAXN],d[MAXN],curedge[MAXN],pre[MAXN];
^
0_0_14703292_10397\Main.java:15: 错误: 需要class, interface或enum
int cc;
^
0_0_14703292_10397\Main.java:16: 错误: 需要class, interface或enum
inline void add_edge(int u,int v,int f)
^
0_0_14703292_10397\Main.java:19: 错误: 需要class, interface或enum
e[cc].v=v;
^
0_0_14703292_10397\Main.java:20: 错误: 需要class, interface或enum
e[cc].f=f;
^
0_0_14703292_10397\Main.java:21: 错误: 需要class, interface或enum
next[cc]=first[u];
^
0_0_14703292_10397\Main.java:22: 错误: 需要class, interface或enum
first[u]=cc;
^
0_0_14703292_10397\Main.java:23: 错误: 需要class, interface或enum
cc++;
^
0_0_14703292_10397\Main.java:25: 错误: 需要class, interface或enum
e[cc].u=v;
^
0_0_14703292_10397\Main.java:26: 错误: 需要class, interface或enum
e[cc].v=u;
^
0_0_14703292_10397\Main.java:27: 错误: 需要class, interface或enum
e[cc].f=0;
^
0_0_14703292_10397\Main.java:28: 错误: 需要class, interface或enum
next[cc]=first[v];
^
0_0_14703292_10397\Main.java:29: 错误: 需要class, interface或enum
first[v]=cc;
^
0_0_14703292_10397\Main.java:30: 错误: 需要class, interface或enum
cc++;
^
0_0_14703292_10397\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:36: 错误: 需要class, interface或enum
memset(d,0,sizeof(d));
^
0_0_14703292_10397\Main.java:37: 错误: 需要class, interface或enum
memset(gap,0,sizeof(gap));
^
0_0_14703292_10397\Main.java:38: 错误: 需要class, interface或enum
memset(pre,-1,sizeof(pre));
^
0_0_14703292_10397\Main.java:39: 错误: 需要class, interface或enum
for(i=0;i<=n;i++)
^
0_0_14703292_10397\Main.java:39: 错误: 需要class, interface或enum
for(i=0;i<=n;i++)
^
0_0_14703292_10397\Main.java:39: 错误: 需要class, interface或enum
for(i=0;i<=n;i++)
^
0_0_14703292_10397\Main.java:41: 错误: 需要class, interface或enum
gap[0]=n+1;
^
0_0_14703292_10397\Main.java:42: 错误: 需要class, interface或enum
u=s;
^
0_0_14703292_10397\Main.java:43: 错误: 需要class, interface或enum
while(d[s]<=n)
^
0_0_14703292_10397\Main.java:48: 错误: 需要class, interface或enum
for(i=s;i!=t;i=e[curedge[i]].v)
^
0_0_14703292_10397\Main.java:48: 错误: 需要class, interface或enum
for(i=s;i!=t;i=e[curedge[i]].v)
^
0_0_14703292_10397\Main.java:48: 错误: 需要class, interface或enum
for(i=s;i!=t;i=e[curedge[i]].v)
^
0_0_14703292_10397\Main.java:53: 错误: 需要class, interface或enum
cur_flow=e[curedge[i]].f;
^
0_0_14703292_10397\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:56: 错误: 需要class, interface或enum
for(i=s;i!=t;i=e[curedge[i]].v)
^
0_0_14703292_10397\Main.java:56: 错误: 需要class, interface或enum
for(i=s;i!=t;i=e[curedge[i]].v)
^
0_0_14703292_10397\Main.java:59: 错误: 需要class, interface或enum
e[tmp].f-=cur_flow;
^
0_0_14703292_10397\Main.java:60: 错误: 需要class, interface或enum
e[tmp^1].f+=cur_flow;
^
0_0_14703292_10397\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:63: 错误: 需要class, interface或enum
u=neck;
^
0_0_14703292_10397\Main.java:64: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:65: 错误: 需要class, interface或enum
for(i=curedge[u];i!=-1;i=next[i])
^
0_0_14703292_10397\Main.java:65: 错误: 需要class, interface或enum
for(i=curedge[u];i!=-1;i=next[i])
^
0_0_14703292_10397\Main.java:68: 错误: 需要class, interface或enum
if(e[i].f&&d[u]==d[v]+1)
^
0_0_14703292_10397\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:74: 错误: 需要class, interface或enum
pre[v]=u;
^
0_0_14703292_10397\Main.java:75: 错误: 需要class, interface或enum
u=v;
^
0_0_14703292_10397\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:81: 错误: 需要class, interface或enum
curedge[u]=first[u];
^
0_0_14703292_10397\Main.java:82: 错误: 需要class, interface或enum
for(tmp=n+5,i=first[u];i!=-1;i=next[i])
^
0_0_14703292_10397\Main.java:82: 错误: 需要class, interface或enum
for(tmp=n+5,i=first[u];i!=-1;i=next[i])
^
0_0_14703292_10397\Main.java:82: 错误: 需要class, interface或enum
for(tmp=n+5,i=first[u];i!=-1;i=next[i])
^
0_0_14703292_10397\Main.java:85: 错误: 需要class, interface或enum
d[u]=tmp+1;
^
0_0_14703292_10397\Main.java:86: 错误: 需要class, interface或enum
++gap[d[u]];
^
0_0_14703292_10397\Main.java:87: 错误: 需要class, interface或enum
if(u!=s)
^
0_0_14703292_10397\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:92: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:97: 错误: 需要class, interface或enum
while(scanf("%d%d%d",&N,&F,&D)!=EOF)
^
0_0_14703292_10397\Main.java:100: 错误: 需要class, interface或enum
memset(next,-1,sizeof(next));
^
0_0_14703292_10397\Main.java:101: 错误: 需要class, interface或enum
cc=0;
^
0_0_14703292_10397\Main.java:102: 错误: 需要class, interface或enum
int s=0,t=F+D+N+N+1;
^
0_0_14703292_10397\Main.java:103: 错误: 需要class, interface或enum
int i;
^
0_0_14703292_10397\Main.java:104: 错误: 需要class, interface或enum
for(i=1;i<=F;i++)
^
0_0_14703292_10397\Main.java:104: 错误: 需要class, interface或enum
for(i=1;i<=F;i++)
^
0_0_14703292_10397\Main.java:104: 错误: 需要class, interface或enum
for(i=1;i<=F;i++)
^
0_0_14703292_10397\Main.java:107: 错误: 需要class, interface或enum
scanf("%d",&a);
^
0_0_14703292_10397\Main.java:108: 错误: 需要class, interface或enum
add_edge(s,i,a);
^
0_0_14703292_10397\Main.java:109: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:110: 错误: 需要class, interface或enum
for(i=1;i<=D;i++)
^
0_0_14703292_10397\Main.java:110: 错误: 需要class, interface或enum
for(i=1;i<=D;i++)
^
0_0_14703292_10397\Main.java:113: 错误: 需要class, interface或enum
scanf("%d",&a);
^
0_0_14703292_10397\Main.java:114: 错误: 需要class, interface或enum
add_edge(i+F,t,a);
^
0_0_14703292_10397\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:116: 错误: 需要class, interface或enum
for(i=1;i<=N;i++)
^
0_0_14703292_10397\Main.java:116: 错误: 需要class, interface或enum
for(i=1;i<=N;i++)
^
0_0_14703292_10397\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:121: 错误: 需要class, interface或enum
for(i=1;i<=N;i++)
^
0_0_14703292_10397\Main.java:121: 错误: 需要class, interface或enum
for(i=1;i<=N;i++)
^
0_0_14703292_10397\Main.java:121: 错误: 需要class, interface或enum
for(i=1;i<=N;i++)
^
0_0_14703292_10397\Main.java:124: 错误: 需要class, interface或enum
int j;
^
0_0_14703292_10397\Main.java:125: 错误: 需要class, interface或enum
for(j=1;j<=F;j++)
^
0_0_14703292_10397\Main.java:125: 错误: 需要class, interface或enum
for(j=1;j<=F;j++)
^
0_0_14703292_10397\Main.java:125: 错误: 需要class, interface或enum
for(j=1;j<=F;j++)
^
0_0_14703292_10397\Main.java:130: 错误: 需要class, interface或enum
}
^
0_0_14703292_10397\Main.java:133: 错误: 需要class, interface或enum
|