0_0_18141173_3076.cpp: In function 'int main()':
0_0_18141173_3076.cpp:28:29: error: cannot convert 'node*' to 'int*' in initialization
int *A=new node[1005];
^
0_0_18141173_3076.cpp:29:29: error: cannot convert 'node*' to 'int*' in initialization
int *B=new node[1005];
^
0_0_18141173_3076.cpp:37:33: error: cannot convert 'node' to 'int' in assignment
if(co=='A')A[cnt1++]=a;
^
0_0_18141173_3076.cpp:38:27: error: cannot convert 'node' to 'int' in assignment
else B[cnt2++]=a;
^
0_0_18141173_3076.cpp:41:22: error: 'sort' was not declared in this scope
sort(A,A+cnt1);
^
0_0_18141173_3076.cpp:43:23: error: request for member 'a' in '*(B + ((sizetype)(((long long unsigned int)cnt2) * 4ull)))', which is of non-class type 'int'
while(B[cnt2].a<=z)q.push(B[cnt2++].b);
^
0_0_18141173_3076.cpp:43:45: error: request for member 'b' in '*(B + ((sizetype)(((long long unsigned int)(cnt2 ++)) * 4ull)))', which is of non-class type 'int'
while(B[cnt2].a<=z)q.push(B[cnt2++].b);
^
|