0_0_34755332_28301.cpp:91:11: error: redefinition of 'const int maxn'
const int maxn = 50000 + 10;
^
0_0_34755332_28301.cpp:6:11: note: 'const int maxn' previously defined here
const int maxn = 50000 + 10;
^
0_0_34755332_28301.cpp:92:8: error: redefinition of 'struct edge'
struct edge{
^
0_0_34755332_28301.cpp:7:8: error: previous definition of 'struct edge'
struct edge{
^
0_0_34755332_28301.cpp:94:14: error: invalid type in declaration before ';' token
}e[maxn << 1];
^
0_0_34755332_28301.cpp:94:14: error: conflicting declaration 'int e [100020]'
0_0_34755332_28301.cpp:9:2: note: previous declaration as 'edge e [100020]'
}e[maxn << 1];
^
0_0_34755332_28301.cpp:95:14: error: redefinition of 'int head [50010]'
int head[maxn], cnt;
^
0_0_34755332_28301.cpp:10:5: note: 'int head [50010]' previously declared here
int head[maxn], cnt;
^
0_0_34755332_28301.cpp:95:17: error: redefinition of 'int cnt'
int head[maxn], cnt;
^
0_0_34755332_28301.cpp:10:17: note: 'int cnt' previously declared here
int head[maxn], cnt;
^
0_0_34755332_28301.cpp:96:5: error: redefinition of 'int n'
int n, k;
^
0_0_34755332_28301.cpp:11:5: note: 'int n' previously declared here
int n, k;
^
0_0_34755332_28301.cpp:96:8: error: redefinition of 'int k'
int n, k;
^
0_0_34755332_28301.cpp:11:8: note: 'int k' previously declared here
int n, k;
^
0_0_34755332_28301.cpp:97:5: error: redefinition of 'int ma'
int ma;
^
0_0_34755332_28301.cpp:12:5: note: 'int ma' previously declared here
int ma;
^
0_0_34755332_28301.cpp:98:13: error: redefinition of 'int col [50010]'
int col[maxn];
^
0_0_34755332_28301.cpp:13:5: note: 'int col [50010]' previously declared here
int col[maxn];
^
0_0_34755332_28301.cpp:99:33: error: redefinition of 'short unsigned int dp [50010][1100]'
unsigned short int dp[maxn][1100];
^
0_0_34755332_28301.cpp:14:20: note: 'short unsigned int dp [50010][1100]' previously declared here
unsigned short int dp[maxn][1100];
^
0_0_34755332_28301.cpp: In function 'void init()':
0_0_34755332_28301.cpp:100:6: error: redefinition of 'void init()'
void init(){
^
0_0_34755332_28301.cpp:15:6: note: 'void init()' previously defined here
void init(){
^
0_0_34755332_28301.cpp: In function 'void add_edge(int, int)':
0_0_34755332_28301.cpp:109:6: error: redefinition of 'void add_edge(int, int)'
void add_edge(int u, int v){
^
0_0_34755332_28301.cpp:24:6: note: 'void add_edge(int, int)' previously defined here
void add_edge(int u, int v){
^
0_0_34755332_28301.cpp: In function 'int get(int)':
0_0_34755332_28301.cpp:113:5: error: redefinition of 'int get(int)'
int get(int x){
^
0_0_34755332_28301.cpp:28:5: note: 'int get(int)' previously defined here
int get(int x){
^
0_0_34755332_28301.cpp: In function 'void dfs(int, int)':
0_0_34755332_28301.cpp:116:6: error: redefinition of 'void dfs(int, int)'
void dfs(int u, int fa){
^
0_0_34755332_28301.cpp:31:6: note: 'void dfs(int, int)' previously defined here
void dfs(int u, int fa){
^
0_0_34755332_28301.cpp: At global scope:
0_0_34755332_28301.cpp:129:4: error: redefinition of 'll ans'
ll ans;
^
0_0_34755332_28301.cpp:44:4: note: 'll ans' previously declared here
ll ans;
^
0_0_34755332_28301.cpp: In function 'void dfs1(int, int)':
0_0_34755332_28301.cpp:130:6: error: redefinition of 'void dfs1(int, int)'
void dfs1(int u, int fa){
^
0_0_34755332_28301.cpp:45:6: note: 'void dfs1(int, int)' previously defined here
void dfs1(int u, int fa){
^
0_0_34755332_28301.cpp: In function 'int main()':
0_0_34755332_28301.cpp:153:5: error: redefinition of 'int main()'
int main(){
^
0_0_34755332_28301.cpp:68:5: note: 'int main()' previously defined here
int main(){
^
|