0_0_29631651_23040.cpp:155:2: error: stray '#' in program
}#include<iostream>
^
0_0_29631651_23040.cpp:155:3: error: 'include' does not name a type
}#include<iostream>
^
0_0_29631651_23040.cpp:160:11: error: redefinition of 'const int M'
const int M=22000;
^
0_0_29631651_23040.cpp:6:11: note: 'const int M' previously defined here
const int M=22000;
^
0_0_29631651_23040.cpp:161:11: error: redefinition of 'const int N'
const int N=11000;
^
0_0_29631651_23040.cpp:7:11: note: 'const int N' previously defined here
const int N=11000;
^
0_0_29631651_23040.cpp:162:6: error: redefinition of 'char ch'
char ch;
^
0_0_29631651_23040.cpp:8:6: note: 'char ch' previously declared here
char ch;
^
0_0_29631651_23040.cpp:163:8: error: redefinition of 'struct Node'
struct Node{
^
0_0_29631651_23040.cpp:9:8: error: previous definition of 'struct Node'
struct Node{
^
0_0_29631651_23040.cpp:166:12: error: redefinition of 'Node data [22000]'
Node data[M];
^
0_0_29631651_23040.cpp:12:6: note: 'Node data [22000]' previously declared here
Node data[M];
^
0_0_29631651_23040.cpp:167:5: error: redefinition of 'int x'
int x,y,n,m;
^
0_0_29631651_23040.cpp:13:5: note: 'int x' previously declared here
int x,y,n,m;
^
0_0_29631651_23040.cpp:167:7: error: redefinition of 'int y'
int x,y,n,m;
^
0_0_29631651_23040.cpp:13:7: note: 'int y' previously declared here
int x,y,n,m;
^
0_0_29631651_23040.cpp:167:9: error: redefinition of 'int n'
int x,y,n,m;
^
0_0_29631651_23040.cpp:13:9: note: 'int n' previously declared here
int x,y,n,m;
^
0_0_29631651_23040.cpp:167:11: error: redefinition of 'int m'
int x,y,n,m;
^
0_0_29631651_23040.cpp:13:11: note: 'int m' previously declared here
int x,y,n,m;
^
0_0_29631651_23040.cpp:168:8: error: redefinition of 'int h [11000]'
int h[N];
^
0_0_29631651_23040.cpp:14:5: note: 'int h [11000]' previously declared here
int h[N];
^
0_0_29631651_23040.cpp:169:8: error: redefinition of 'int b [11000]'
int b[N];
^
0_0_29631651_23040.cpp:15:5: note: 'int b [11000]' previously declared here
int b[N];
^
0_0_29631651_23040.cpp:170:12: error: redefinition of 'bool flag [11000]'
bool flag[N],f1,f2;
^
0_0_29631651_23040.cpp:16:6: note: 'bool flag [11000]' previously declared here
bool flag[N],f1,f2;
^
0_0_29631651_23040.cpp:170:14: error: redefinition of 'bool f1'
bool flag[N],f1,f2;
^
0_0_29631651_23040.cpp:16:14: note: 'bool f1' previously declared here
bool flag[N],f1,f2;
^
0_0_29631651_23040.cpp:170:17: error: redefinition of 'bool f2'
bool flag[N],f1,f2;
^
0_0_29631651_23040.cpp:16:17: note: 'bool f2' previously declared here
bool flag[N],f1,f2;
^
0_0_29631651_23040.cpp:171:8: error: redefinition of 'int f [11000]'
int f[N];
^
0_0_29631651_23040.cpp:17:5: note: 'int f [11000]' previously declared here
int f[N];
^
0_0_29631651_23040.cpp:172:8: error: redefinition of 'struct Node1'
struct Node1
^
0_0_29631651_23040.cpp:18:8: error: previous definition of 'struct Node1'
struct Node1
^
0_0_29631651_23040.cpp:176:14: error: redefinition of 'Node1 data1 [22000]'
Node1 data1[M];
^
0_0_29631651_23040.cpp:22:7: note: 'Node1 data1 [22000]' previously declared here
Node1 data1[M];
^
0_0_29631651_23040.cpp:177:13: error: redefinition of 'Node data2 [22000]'
Node data2[M];
^
0_0_29631651_23040.cpp:23:6: note: 'Node data2 [22000]' previously declared here
Node data2[M];
^
0_0_29631651_23040.cpp: In function 'int root(int)':
0_0_29631651_23040.cpp:178:5: error: redefinition of 'int root(int)'
int root(int t)
^
0_0_29631651_23040.cpp:24:5: note: 'int root(int)' previously defined here
int root(int t)
^
0_0_29631651_23040.cpp: At global scope:
0_0_29631651_23040.cpp:183:5: error: redefinition of 'int num1'
int num1;
^
0_0_29631651_23040.cpp:29:5: note: 'int num1' previously declared here
int num1;
^
0_0_29631651_23040.cpp: In function 'void insert(int, int)':
0_0_29631651_23040.cpp:184:6: error: redefinition of 'void insert(int, int)'
void insert(int x1,int y1)
^
0_0_29631651_23040.cpp:30:6: note: 'void insert(int, int)' previously defined here
void insert(int x1,int y1)
^
0_0_29631651_23040.cpp: In function 'int main()':
0_0_29631651_23040.cpp:192:5: error: redefinition of 'int main()'
int main()
^
0_0_29631651_23040.cpp:38:5: note: 'int main()' previously defined here
int main()
^
|