0_0_24450515_21309.cpp:78:11: error: redefinition of 'const int maxn'
const int maxn=100005;
^
0_0_24450515_21309.cpp:3:11: note: 'const int maxn' previously defined here
const int maxn=100005;
^
0_0_24450515_21309.cpp:79:11: error: redefinition of 'const int maxm'
const int maxm=300005;
^
0_0_24450515_21309.cpp:4:11: note: 'const int maxm' previously defined here
const int maxm=300005;
^
0_0_24450515_21309.cpp:80:5: error: redefinition of 'int n'
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:5:5: note: 'int n' previously declared here
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:80:7: error: redefinition of 'int m'
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:5:7: note: 'int m' previously declared here
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:80:17: error: redefinition of 'int dfn [100005]'
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:5:9: note: 'int dfn [100005]' previously declared here
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:80:27: error: redefinition of 'int low [100005]'
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:5:19: note: 'int low [100005]' previously declared here
int n,m,dfn[maxn],low[maxn];
^
0_0_24450515_21309.cpp:81:16: error: redefinition of 'int head [600010]'
int head[2*maxm],tot=0,Index=0;
^
0_0_24450515_21309.cpp:6:5: note: 'int head [600010]' previously declared here
int head[2*maxm],tot=0,Index=0;
^
0_0_24450515_21309.cpp:81:18: error: redefinition of 'int tot'
int head[2*maxm],tot=0,Index=0;
^
0_0_24450515_21309.cpp:6:18: note: 'int tot' previously defined here
int head[2*maxm],tot=0,Index=0;
^
0_0_24450515_21309.cpp:81:24: error: redefinition of 'int Index'
int head[2*maxm],tot=0,Index=0;
^
0_0_24450515_21309.cpp:6:24: note: 'int Index' previously defined here
int head[2*maxm],tot=0,Index=0;
^
0_0_24450515_21309.cpp:82:12: error: redefinition of 'int ji [100005]'
int ji[maxn];
^
0_0_24450515_21309.cpp:7:5: note: 'int ji [100005]' previously declared here
int ji[maxn];
^
0_0_24450515_21309.cpp:83:10: error: redefinition of 'int ans [2]'
int ans[2];
^
0_0_24450515_21309.cpp:8:5: note: 'int ans [2]' previously declared here
int ans[2];
^
0_0_24450515_21309.cpp:84:8: error: redefinition of 'struct Edge'
struct Edge{
^
0_0_24450515_21309.cpp:9:8: error: previous definition of 'struct Edge'
struct Edge{
^
0_0_24450515_21309.cpp:86:14: error: invalid type in declaration before ';' token
}edge[2*maxm];
^
0_0_24450515_21309.cpp:86:14: error: conflicting declaration 'int edge [600010]'
0_0_24450515_21309.cpp:11:2: note: previous declaration as 'Edge edge [600010]'
}edge[2*maxm];
^
0_0_24450515_21309.cpp: In function 'void init()':
0_0_24450515_21309.cpp:88:6: error: redefinition of 'void init()'
void init()
^
0_0_24450515_21309.cpp:13:6: note: 'void init()' previously defined here
void init()
^
0_0_24450515_21309.cpp: In function 'void addedge(int, int)':
0_0_24450515_21309.cpp:96:6: error: redefinition of 'void addedge(int, int)'
void addedge(int u,int v)
^
0_0_24450515_21309.cpp:21:6: note: 'void addedge(int, int)' previously defined here
void addedge(int u,int v)
^
0_0_24450515_21309.cpp: In function 'void Tanjan(int, int)':
0_0_24450515_21309.cpp:101:6: error: redefinition of 'void Tanjan(int, int)'
void Tanjan(int x,int fa)
^
0_0_24450515_21309.cpp:26:6: note: 'void Tanjan(int, int)' previously defined here
void Tanjan(int x,int fa)
^
0_0_24450515_21309.cpp: In function 'int main()':
0_0_24450515_21309.cpp:125:5: error: redefinition of 'int main()'
int main()
^
0_0_24450515_21309.cpp:50:5: note: 'int main()' previously defined here
int main()
^
|