0_0_38774658_30383.cpp:126:11: error: redefinition of 'const int N'
126 | const int N=2e5+500;
| ^
0_0_38774658_30383.cpp:10:11: note: 'const int N' previously defined here
10 | const int N=2e5+500;
| ^
0_0_38774658_30383.cpp:127:13: error: redefinition of 'std::vector<int> tr [200500]'
127 | vector<int> tr[N];
| ^~
0_0_38774658_30383.cpp:11:13: note: 'std::vector<int> tr [200500]' previously defined here
11 | vector<int> tr[N];
| ^~
0_0_38774658_30383.cpp:128:5: error: redefinition of 'int n'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:12:5: note: 'int n' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:128:7: error: redefinition of 'int a [200500]'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:12:7: note: 'int a [200500]' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:128:12: error: redefinition of 'int x'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:12:12: note: 'int x' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:128:14: error: redefinition of 'int y'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:12:14: note: 'int y' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:128:16: error: redefinition of 'int flag [200500]'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^~~~
0_0_38774658_30383.cpp:12:16: note: 'int flag [200500]' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^~~~
0_0_38774658_30383.cpp:128:24: error: redefinition of 'int dep [200500]'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^~~
0_0_38774658_30383.cpp:12:24: note: 'int dep [200500]' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^~~
0_0_38774658_30383.cpp:128:31: error: redefinition of 'int f [200500][32]'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:12:31: note: 'int f [200500][32]' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:128:40: error: redefinition of 'int c [200500]'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:12:40: note: 'int c [200500]' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:128:45: error: redefinition of 'int d [200500]'
128 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:12:45: note: 'int d [200500]' previously declared here
12 | int n,a[N],x,y,flag[N],dep[N],f[N][32],c[N],d[N];
| ^
0_0_38774658_30383.cpp:129:6: error: redefinition of 'bool jud'
129 | bool jud;
| ^~~
0_0_38774658_30383.cpp:13:6: note: 'bool jud' previously declared here
13 | bool jud;
| ^~~
0_0_38774658_30383.cpp:130:13: error: redefinition of 'std::vector<int> b'
130 | vector<int> b;
| ^
0_0_38774658_30383.cpp:14:13: note: 'std::vector<int> b' previously defined here
14 | vector<int> b;
| ^
0_0_38774658_30383.cpp:132:6: error: redefinition of 'void dfs(int, int)'
132 | void dfs(int u,int fa){
| ^~~
0_0_38774658_30383.cpp:16:6: note: 'void dfs(int, int)' previously defined here
16 | void dfs(int u,int fa){
| ^~~
0_0_38774658_30383.cpp:149:5: error: redefinition of 'int calc(int, int)'
149 | int calc(int u,int fa){
| ^~~~
0_0_38774658_30383.cpp:33:5: note: 'int calc(int, int)' previously defined here
33 | int calc(int u,int fa){
| ^~~~
0_0_38774658_30383.cpp:157:5: error: redefinition of 'int main()'
157 | int main(){
| ^~~~
0_0_38774658_30383.cpp:41:5: note: 'int main()' previously defined here
41 | int main(){
| ^~~~
|