0_0_29632650_9367.cpp:10:1: error: expected ',' or ';' before 'struct'
struct Node{
^
0_0_29632650_9367.cpp:13:1: error: 'Node' does not name a type
Node data[M];
^
0_0_29632650_9367.cpp:24:1: error: 'Node' does not name a type
Node data2[M];
^
0_0_29632650_9367.cpp: In function 'int main()':
0_0_29632650_9367.cpp:67:5: error: 'data' was not declared in this scope
data[num].a=y;
^
0_0_29632650_9367.cpp:72:5: error: 'data' was not declared in this scope
data[num].a=x;
^
0_0_29632650_9367.cpp:84:16: error: 'data' was not declared in this scope
int x1=root(data[i].a);
^
0_0_29632650_9367.cpp:94:4: error: 'data' was not declared in this scope
data[i].a=root(data[i].a);
^
0_0_29632650_9367.cpp:100:8: error: 'data' was not declared in this scope
if(data[i].a>data[j].a)
^
0_0_29632650_9367.cpp:109:8: error: 'data' was not declared in this scope
if(data[i].b==data[j].b&&data[i].b>data[j].b)
^
0_0_29632650_9367.cpp:122:8: error: 'data' was not declared in this scope
if(data[i].a!=data[j].a)
^
0_0_29632650_9367.cpp:124:6: error: 'data2' was not declared in this scope
data2[s].a=data[i].a;
^
0_0_29632650_9367.cpp:139:11: error: 'data2' was not declared in this scope
insert(data2[i].b,data2[i].a);
^
|