0_0_29456645_22399.cpp:134:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_29456645_22399.cpp:135:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_29456645_22399.cpp:143:11: error: redefinition of 'const int VM'
const int VM=101000;
^
0_0_29456645_22399.cpp:8:11: note: 'const int VM' previously defined here
const int VM=101000;
^
0_0_29456645_22399.cpp:144:11: error: redefinition of 'const int EM'
const int EM=500100;
^
0_0_29456645_22399.cpp:9:11: note: 'const int EM' previously defined here
const int EM=500100;
^
0_0_29456645_22399.cpp:145:11: error: redefinition of 'const int INF'
const int INF=0x3f3f3f3f;
^
0_0_29456645_22399.cpp:10:11: note: 'const int INF' previously defined here
const int INF=0x3f3f3f3f;
^
0_0_29456645_22399.cpp:147:8: error: redefinition of 'struct Edge'
struct Edge{
^
0_0_29456645_22399.cpp:12:8: error: previous definition of 'struct Edge'
struct Edge{
^
0_0_29456645_22399.cpp:150:13: error: invalid type in declaration before ';' token
}edge[EM<<1];
^
0_0_29456645_22399.cpp:150:13: error: conflicting declaration 'int edge [1000200]'
0_0_29456645_22399.cpp:15:2: note: previous declaration as 'Edge edge [1000200]'
}edge[EM<<1];
^
0_0_29456645_22399.cpp:152:5: error: redefinition of 'int n'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:5: note: 'int n' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:152:7: error: redefinition of 'int m'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:7: note: 'int m' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:152:9: error: redefinition of 'int G'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:9: note: 'int G' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:152:11: error: redefinition of 'int S'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:11: note: 'int S' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:152:13: error: redefinition of 'int cnt'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:13: note: 'int cnt' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:152:24: error: redefinition of 'int head [101000]'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:17: note: 'int head [101000]' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:152:26: error: redefinition of 'int src'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:26: note: 'int src' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:152:30: error: redefinition of 'int des'
int n,m,G,S,cnt,head[VM],src,des;
^
0_0_29456645_22399.cpp:17:30: note: 'int des' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:153:18: error: redefinition of 'int map1 [110][110]'
int map1[110][110],map2[110][110],dep[VM]; //dep[i]表示当前点到起点src的层数
^
0_0_29456645_22399.cpp:17:34: note: 'int map1 [110][110]' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:153:33: error: redefinition of 'int map2 [110][110]'
int map1[110][110],map2[110][110],dep[VM]; //dep[i]表示当前点到起点src的层数
^
0_0_29456645_22399.cpp:17:49: note: 'int map2 [110][110]' previously declared here
int n,m,G,S,cnt,head[VM],src,des,map1[110][110],map2[110][110];
^
0_0_29456645_22399.cpp:153:41: error: redefinition of 'int dep [101000]'
int map1[110][110],map2[110][110],dep[VM]; //dep[i]表示当前点到起点src的层数
^
0_0_29456645_22399.cpp:18:5: note: 'int dep [101000]' previously declared here
int dep[VM],gap[VM],cur[VM],aug[VM],pre[VM];
^
0_0_29456645_22399.cpp: In function 'void addedge(int, int, int)':
0_0_29456645_22399.cpp:155:6: error: redefinition of 'void addedge(int, int, int)'
void addedge(int cu,int cv,int cw){
^
0_0_29456645_22399.cpp:20:6: note: 'void addedge(int, int, int)' previously defined here
void addedge(int cu,int cv,int cw){
^
0_0_29456645_22399.cpp: In function 'int main()':
0_0_29456645_22399.cpp:212:5: error: redefinition of 'int main()'
int main(){
^
0_0_29456645_22399.cpp:82:5: note: 'int main()' previously defined here
int main(){
^
0_0_29456645_22399.cpp:262:13: error: expected '}' at end of input
return 0;
^
|