0_0_34071831_16707.cpp:92:5: error: conflicting declaration 'std::pair<int, int> A'
pii A, B, C;
^
0_0_34071831_16707.cpp:7:43: note: previous declaration as 'int A [20000100]'
int S[N], ch[N][2], n, m, l, r, x, rt, q, A[N * 20], tot = 0;
^
0_0_34071831_16707.cpp: In function 'int main()':
0_0_34071831_16707.cpp:109:7: error: incompatible types in assignment of 'std::pair<int, int>' to 'int [20000100]'
A = split(rt, l - 1);
^
0_0_34071831_16707.cpp:110:17: error: request for member 'second' in 'A', which is of non-class type 'int [20000100]'
B = split(A.second, r - l + 1);
^
0_0_34071831_16707.cpp:111:21: error: request for member 'first' in 'A', which is of non-class type 'int [20000100]'
int w = merge(A.first, B.second);
^
0_0_34071831_16707.cpp:116:7: error: incompatible types in assignment of 'std::pair<int, int>' to 'int [20000100]'
A = split(rt, l - 1);
^
0_0_34071831_16707.cpp:117:17: error: request for member 'second' in 'A', which is of non-class type 'int [20000100]'
B = split(A.second, r - l + 1);
^
0_0_34071831_16707.cpp:119:18: error: request for member 'first' in 'A', which is of non-class type 'int [20000100]'
rt = merge(A.first, merge(B.first, B.second));
^
|