0_0_18608301_9475.cpp: In function 'int lcp(int, int)':
0_0_18608301_9475.cpp:79:7: error: reference to 'rank' is ambiguous
a=rank[a];b=rank[b];
^
0_0_18608301_9475.cpp:50:5: note: candidates are: int rank [110000]
int rank[MAXN],height[MAXN];
^
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_18608301_9475.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_18608301_9475.cpp:79:17: error: reference to 'rank' is ambiguous
a=rank[a];b=rank[b];
^
0_0_18608301_9475.cpp:50:5: note: candidates are: int rank [110000]
int rank[MAXN],height[MAXN];
^
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_18608301_9475.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_18608301_9475.cpp: In function 'int main()':
0_0_18608301_9475.cpp:99:17: error: reference to 'rank' is ambiguous
da(r,sa,rank,height,n,128);
^
0_0_18608301_9475.cpp:50:5: note: candidates are: int rank [110000]
int rank[MAXN],height[MAXN];
^
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_18608301_9475.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|