0_0_33445165_15715.cpp:64:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
0_0_33445165_15715.cpp:64:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^
0_0_33445165_15715.cpp:66:11: error: redefinition of 'const int maxn'
const int maxn=1e5+5,inf=0x3f3f3f3f;
^
0_0_33445165_15715.cpp:3:11: note: 'const int maxn' previously defined here
const int maxn=1e5+5,inf=0x3f3f3f3f;
^
0_0_33445165_15715.cpp:66:22: error: redefinition of 'const int inf'
const int maxn=1e5+5,inf=0x3f3f3f3f;
^
0_0_33445165_15715.cpp:3:22: note: 'const int inf' previously defined here
const int maxn=1e5+5,inf=0x3f3f3f3f;
^
0_0_33445165_15715.cpp:67:8: error: redefinition of 'struct PsdTree'
struct PsdTree
^
0_0_33445165_15715.cpp:4:8: error: previous definition of 'struct PsdTree'
struct PsdTree
^
0_0_33445165_15715.cpp:89:3: error: invalid type in declaration before ';' token
}t;
^
0_0_33445165_15715.cpp:89:3: error: conflicting declaration 'int t'
0_0_33445165_15715.cpp:26:2: note: previous declaration as 'PsdTree t'
}t;
^
0_0_33445165_15715.cpp:90:11: error: redefinition of 'int w [100005]'
int w[maxn],root[maxn];
^
0_0_33445165_15715.cpp:27:5: note: 'int w [100005]' previously declared here
int w[maxn],root[maxn];
^
0_0_33445165_15715.cpp:90:22: error: redefinition of 'int root [100005]'
int w[maxn],root[maxn];
^
0_0_33445165_15715.cpp:27:13: note: 'int root [100005]' previously declared here
int w[maxn],root[maxn];
^
0_0_33445165_15715.cpp:91:18: error: redefinition of 'std::vector<int> e [100005]'
vector<int>e[maxn];
^
0_0_33445165_15715.cpp:28:12: note: 'std::vector<int> e [100005]' previously declared here
vector<int>e[maxn];
^
0_0_33445165_15715.cpp: In function 'void link(int, int, int)':
0_0_33445165_15715.cpp:92:6: error: redefinition of 'void link(int, int, int)'
void link(int u,int a,int b)
^
0_0_33445165_15715.cpp:29:6: note: 'void link(int, int, int)' previously defined here
void link(int u,int a,int b)
^
0_0_33445165_15715.cpp: In function 'void dfs(int)':
0_0_33445165_15715.cpp:94:6: error: redefinition of 'void dfs(int)'
void dfs(int u)
^
0_0_33445165_15715.cpp:31:6: note: 'void dfs(int)' previously defined here
void dfs(int u)
^
0_0_33445165_15715.cpp: In function 'int main()':
0_0_33445165_15715.cpp:100:5: error: redefinition of 'int main()'
int main()
^
0_0_33445165_15715.cpp:37:5: note: 'int main()' previously defined here
int main()
^
|