0_0_38998523_26955.cpp: In function 'void asa(int, int)':
0_0_38998523_26955.cpp:36:26: error: reference to 'rank' is ambiguous
36 | for (int i=1;i<=n;i++) rank[sa[i]]=i;
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:60,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from 0_0_38998523_26955.cpp:2:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1356:12: note: candidates are: 'template<class> struct std::rank'
1356 | struct rank
| ^~~~
0_0_38998523_26955.cpp:7:1: note: 'int rank [1000010]'
7 | rank[maxn],c[maxn],a[maxn],h,t;
| ^~~~
0_0_38998523_26955.cpp:39:14: error: reference to 'rank' is ambiguous
39 | int j=sa[rank[i]-1];
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1356:12: note: candidates are: 'template<class> struct std::rank'
1356 | struct rank
| ^~~~
0_0_38998523_26955.cpp:7:1: note: 'int rank [1000010]'
7 | rank[maxn],c[maxn],a[maxn],h,t;
| ^~~~
0_0_38998523_26955.cpp:42:12: error: reference to 'rank' is ambiguous
42 | height[rank[i]]=f;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/type_traits:1356:12: note: candidates are: 'template<class> struct std::rank'
1356 | struct rank
| ^~~~
0_0_38998523_26955.cpp:7:1: note: 'int rank [1000010]'
7 | rank[maxn],c[maxn],a[maxn],h,t;
| ^~~~
|