0_0_19191486_30761.cpp: In function 'void cut(int, int, int)':
0_0_19191486_30761.cpp:60:8: error: reference to 'rank' is ambiguous
splay(rank(l-1,root),0);
^
0_0_19191486_30761.cpp:48:5: note: candidates are: int rank(int, int)
int rank(int x,int k)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_19191486_30761.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_19191486_30761.cpp:61:8: error: reference to 'rank' is ambiguous
splay(rank(r+1,root),root);
^
0_0_19191486_30761.cpp:48:5: note: candidates are: int rank(int, int)
int rank(int x,int k)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_19191486_30761.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_19191486_30761.cpp:65:8: error: reference to 'rank' is ambiguous
splay(rank(c,root),0);
^
0_0_19191486_30761.cpp:48:5: note: candidates are: int rank(int, int)
int rank(int x,int k)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_19191486_30761.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_19191486_30761.cpp:66:8: error: reference to 'rank' is ambiguous
splay(rank(c+1,root),root);
^
0_0_19191486_30761.cpp:48:5: note: candidates are: int rank(int, int)
int rank(int x,int k)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_19191486_30761.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_19191486_30761.cpp: In function 'void rev(int, int)':
0_0_19191486_30761.cpp:73:8: error: reference to 'rank' is ambiguous
splay(rank(l-1,root),0);
^
0_0_19191486_30761.cpp:48:5: note: candidates are: int rank(int, int)
int rank(int x,int k)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_19191486_30761.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_19191486_30761.cpp:74:8: error: reference to 'rank' is ambiguous
splay(rank(r+1,root),root);
^
0_0_19191486_30761.cpp:48:5: note: candidates are: int rank(int, int)
int rank(int x,int k)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_19191486_30761.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|