0_0_18177193_29930.cpp:77:11: error: redefinition of 'const int N'
const int N = 40001;
^
0_0_18177193_29930.cpp:5:11: note: 'const int N' previously defined here
const int N = 40001;
^
0_0_18177193_29930.cpp:79:8: error: redefinition of 'struct Edge'
struct Edge{
^
0_0_18177193_29930.cpp:7:8: error: previous definition of 'struct Edge'
struct Edge{
^
0_0_18177193_29930.cpp:82:11: error: invalid type in declaration before ';' token
}edge[2*N];
^
0_0_18177193_29930.cpp:82:11: error: conflicting declaration 'int edge [80002]'
0_0_18177193_29930.cpp:10:2: note: previous declaration as 'Edge edge [80002]'
}edge[2*N];
^
0_0_18177193_29930.cpp:84:5: error: redefinition of 'int n'
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:12:5: note: 'int n' previously declared here
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:84:7: error: redefinition of 'int m'
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:12:7: note: 'int m' previously declared here
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:84:9: error: redefinition of 'int e_num'
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:12:9: note: 'int e_num' previously declared here
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:84:21: error: redefinition of 'int head [40001]'
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:12:15: note: 'int head [40001]' previously declared here
int n,m,e_num,head[N];
^
0_0_18177193_29930.cpp:85:8: error: redefinition of 'int x [40001]'
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:13:5: note: 'int x [40001]' previously declared here
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:85:13: error: redefinition of 'int y [40001]'
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:13:10: note: 'int y [40001]' previously declared here
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:85:18: error: redefinition of 'int z [40001]'
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:13:15: note: 'int z [40001]' previously declared here
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:85:23: error: redefinition of 'int f [40001]'
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:13:20: note: 'int f [40001]' previously declared here
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:85:31: error: redefinition of 'int dist [40001]'
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:13:25: note: 'int dist [40001]' previously declared here
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:85:38: error: redefinition of 'int vis [40001]'
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp:13:33: note: 'int vis [40001]' previously declared here
int x[N],y[N],z[N],f[N],dist[N],vis[N];
^
0_0_18177193_29930.cpp: In function 'void AddEdge(int, int, int)':
0_0_18177193_29930.cpp:87:6: error: redefinition of 'void AddEdge(int, int, int)'
void AddEdge(int a,int b,int c){
^
0_0_18177193_29930.cpp:15:6: note: 'void AddEdge(int, int, int)' previously defined here
void AddEdge(int a,int b,int c){
^
0_0_18177193_29930.cpp: In function 'int find(int)':
0_0_18177193_29930.cpp:92:5: error: redefinition of 'int find(int)'
int find(int x){
^
0_0_18177193_29930.cpp:20:5: note: 'int find(int)' previously defined here
int find(int x){
^
0_0_18177193_29930.cpp: In function 'void tarjan(int)':
0_0_18177193_29930.cpp:98:6: error: redefinition of 'void tarjan(int)'
void tarjan(int k){
^
0_0_18177193_29930.cpp:26:6: note: 'void tarjan(int)' previously defined here
void tarjan(int k){
^
0_0_18177193_29930.cpp: In function 'int main()':
0_0_18177193_29930.cpp:115:5: error: redefinition of 'int main()'
int main()
^
0_0_18177193_29930.cpp:43:5: note: 'int main()' previously defined here
int main()
^
|