0_0_23207303_6916.cpp:104:11: error: redefinition of 'const int size'
const int size=100001;
^
0_0_23207303_6916.cpp:5:11: note: 'const int size' previously defined here
const int size=100001;
^
0_0_23207303_6916.cpp:106:16: error: redefinition of 'int parent [100001]'
int parent[size],rank1[size],count1;
^
0_0_23207303_6916.cpp:7:5: note: 'int parent [100001]' previously declared here
int parent[size],rank1[size],count1;
^
0_0_23207303_6916.cpp:106:28: error: redefinition of 'int rank1 [100001]'
int parent[size],rank1[size],count1;
^
0_0_23207303_6916.cpp:7:18: note: 'int rank1 [100001]' previously declared here
int parent[size],rank1[size],count1;
^
0_0_23207303_6916.cpp:106:30: error: redefinition of 'int count1'
int parent[size],rank1[size],count1;
^
0_0_23207303_6916.cpp:7:30: note: 'int count1' previously declared here
int parent[size],rank1[size],count1;
^
0_0_23207303_6916.cpp: In function 'void init()':
0_0_23207303_6916.cpp:108:7: error: redefinition of 'void init()'
void init()
^
0_0_23207303_6916.cpp:9:7: note: 'void init()' previously defined here
void init()
^
0_0_23207303_6916.cpp: In function 'int find(int)':
0_0_23207303_6916.cpp:128:5: error: redefinition of 'int find(int)'
int find(int n)
^
0_0_23207303_6916.cpp:29:5: note: 'int find(int)' previously defined here
int find(int n)
^
0_0_23207303_6916.cpp: In function 'void join(int, int)':
0_0_23207303_6916.cpp:136:7: error: redefinition of 'void join(int, int)'
void join(int a,int b)
^
0_0_23207303_6916.cpp:37:7: note: 'void join(int, int)' previously defined here
void join(int a,int b)
^
0_0_23207303_6916.cpp: In function 'int main()':
0_0_23207303_6916.cpp:162:5: error: redefinition of 'int main()'
int main()
^
0_0_23207303_6916.cpp:63:5: note: 'int main()' previously defined here
int main()
^
|