0_0_17895194_14302.cpp: In function 'int main()':
0_0_17895194_14302.cpp:58:12: error: reference to 'hash' is ambiguous
ull A= hash(ha,1,i-j);
^
0_0_17895194_14302.cpp:38:5: note: candidates are: long long unsigned int hash(long long unsigned int*, int, int)
ull hash(ull *H,int l,int r){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17895194_14302.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_17895194_14302.cpp:59:12: error: reference to 'hash' is ambiguous
ull B= hash(hb,j+1,i);
^
0_0_17895194_14302.cpp:38:5: note: candidates are: long long unsigned int hash(long long unsigned int*, int, int)
ull hash(ull *H,int l,int r){
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_17895194_14302.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
|