0_0_15686608_24472.cpp: In function 'bool query(int, int, long long unsigned int*)':
0_0_15686608_24472.cpp:46:6: error: reference to 'rank' is ambiguous
if(rank[mid]<=ans){
^
0_0_15686608_24472.cpp:7:15: note: candidates are: long long unsigned int rank [100005]
ull p[M],H[M],rank[M];
^
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_15686608_24472.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_15686608_24472.cpp:52:9: error: reference to 'rank' is ambiguous
return rank[res]==ans;
^
0_0_15686608_24472.cpp:7:15: note: candidates are: long long unsigned int rank [100005]
ull p[M],H[M],rank[M];
^
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_15686608_24472.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_15686608_24472.cpp: In function 'int main()':
0_0_15686608_24472.cpp:65:5: error: reference to 'rank' is ambiguous
rank[i]=rank[i]*P+ins[j]-'a';
^
0_0_15686608_24472.cpp:7:15: note: candidates are: long long unsigned int rank [100005]
ull p[M],H[M],rank[M];
^
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_15686608_24472.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_15686608_24472.cpp:65:13: error: reference to 'rank' is ambiguous
rank[i]=rank[i]*P+ins[j]-'a';
^
0_0_15686608_24472.cpp:7:15: note: candidates are: long long unsigned int rank [100005]
ull p[M],H[M],rank[M];
^
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_15686608_24472.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_15686608_24472.cpp:68:8: error: reference to 'rank' is ambiguous
sort(rank,rank+tot);
^
0_0_15686608_24472.cpp:7:15: note: candidates are: long long unsigned int rank [100005]
ull p[M],H[M],rank[M];
^
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_15686608_24472.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_15686608_24472.cpp:68:13: error: reference to 'rank' is ambiguous
sort(rank,rank+tot);
^
0_0_15686608_24472.cpp:7:15: note: candidates are: long long unsigned int rank [100005]
ull p[M],H[M],rank[M];
^
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_15686608_24472.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|