0_0_33226813_25867.cpp: In member function 'std::pair<int, int> tree_2::que(int, int, int, int)':
0_0_33226813_25867.cpp:115:76: error: 'query' was not declared in this scope
if(sum[lson(rt)] >= rank) return query(lson(rt), l, mid(l, r), rank);
^
0_0_33226813_25867.cpp:116:75: error: 'query' was not declared in this scope
else return query(rson(rt), mid(l, r) + 1, r, rank - sum[lson(rt)]);
^
0_0_33226813_25867.cpp: In function 'void solve()':
0_0_33226813_25867.cpp:191:27: error: 'struct tree_2' has no member named 'query'
info = at.query(1, 1, n, x);
^
0_0_33226813_25867.cpp:200:29: error: 'struct tree_2' has no member named 'query'
p1 = at.query(1, 1, n, x + 1);
^
0_0_33226813_25867.cpp:211:29: error: 'struct tree_2' has no member named 'query'
p1 = at.query(1, 1, n, x - 1);
^
0_0_33226813_25867.cpp:222:29: error: 'struct tree_2' has no member named 'query'
p1 = at.query(1, 1, n, x - 1);
^
0_0_33226813_25867.cpp:223:29: error: 'struct tree_2' has no member named 'query'
p2 = at.query(1, 1, n, x + 1);
^
|