0_0_39465830_10808.cpp:215:9: error: 'int Treap<T>::rank(T)' cannot be overloaded with 'int Treap<T>::rank(T)'
215 | int rank(T val) {//递归改循环
| ^~~~
0_0_39465830_10808.cpp:209:9: note: previous declaration 'int Treap<T>::rank(T)'
209 | int rank(T val) {
| ^~~~
0_0_39465830_10808.cpp:249:7: error: 'T Treap<T>::find_pre(T)' cannot be overloaded with 'T Treap<T>::find_pre(T)'
249 | T find_pre(T val) {//递归改循环
| ^~~~~~~~
0_0_39465830_10808.cpp:241:7: note: previous declaration 'T Treap<T>::find_pre(T)'
241 | T find_pre(T val) {
| ^~~~~~~~
0_0_39465830_10808.cpp:270:7: error: 'T Treap<T>::find_next(T)' cannot be overloaded with 'T Treap<T>::find_next(T)'
270 | T find_next(T val) {//递归改循环
| ^~~~~~~~~
0_0_39465830_10808.cpp:263:7: note: previous declaration 'T Treap<T>::find_next(T)'
263 | T find_next(T val) {
| ^~~~~~~~~
0_0_39465830_10808.cpp: In member function 'T Treap<T>::find_pre(T)':
0_0_39465830_10808.cpp:252:29: error: 'v' was not declared in this scope
252 | if (tr[u].val < v) {
| ^
0_0_39465830_10808.cpp: In member function 'T Treap<T>::find_next(T)':
0_0_39465830_10808.cpp:273:30: error: 'v' was not declared in this scope
273 | if (tr[u].val <= v) {
| ^
|