0_0_25825105_988.cpp: In function 'int new_node(int)':
0_0_25825105_988.cpp:14:5: error: 'sz' was not declared in this scope
sz++;
^
0_0_25825105_988.cpp:18:16: error: 'tot' was not declared in this scope
size[sz]=1;tot[sz]=cnt;
^
0_0_25825105_988.cpp:18:24: error: 'cnt' was not declared in this scope
size[sz]=1;tot[sz]=cnt;
^
0_0_25825105_988.cpp: In function 'int main()':
0_0_25825105_988.cpp:68:29: error: 'q' was not declared in this scope
while(scanf("%d %d",&n,&q)!=EOF){
^
0_0_25825105_988.cpp:87:28: error: invalid types 'int[int]' for array subscript
printf("%d\n",val[x]);
^
0_0_25825105_988.cpp:92:28: error: invalid types 'int[int]' for array subscript
printf("%d\n",val[y]);
^
0_0_25825105_988.cpp:97:26: error: 'v' was not declared in this scope
u=read(),u=read(),v=read(),w=read();
^
|