0_0_39552232_32182.cpp: In function 'void idol_produce(ll)':
0_0_39552232_32182.cpp:438:27: error: call of overloaded 'query(ll&, ll&)' is ambiguous
438 | next[i] = st.query(lv, rv);
| ~~~~~~~~^~~~~~~~
0_0_39552232_32182.cpp:298:16: note: candidate: 'ISegmentTree<T, V>::value_type ISegmentTree<T, V>::query(size_t, size_t, size_t) [with T = long long int; V = long long int; value_type = long long int; size_t = long long unsigned int]'
298 | value_type query(size_t l, size_t r, size_t x = 1) {
| ^~~~~
0_0_39552232_32182.cpp:323:16: note: candidate: 'ISegmentTree<T, V>::value_type ISegmentTree<T, V>::query(int, int) [with T = long long int; V = long long int; value_type = long long int]'
323 | value_type query(int l, int r) {
| ^~~~~
0_0_39552232_32182.cpp:439:18: error: call of overloaded 'change(ll, ll, ll&)' is ambiguous
439 | st.change(get(a[i]), get(a[i]), i);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
0_0_39552232_32182.cpp:286:10: note: candidate: 'void ISegmentTree<T, V>::change(size_t, size_t, T, size_t) [with T = long long int; V = long long int; size_t = long long unsigned int]'
286 | void change(size_t l, size_t r, T val, size_t x = 1) {
| ^~~~~~
0_0_39552232_32182.cpp:317:10: note: candidate: 'void ISegmentTree<T, V>::change(int, int, element_type) [with T = long long int; V = long long int; element_type = long long int]'
317 | void change(int l, int r, element_type val) {
| ^~~~~~
|