0_0_20365596_14552.cpp: In function 'll solve(ll, ll, ll, ll)':
0_0_20365596_14552.cpp:144:3: error: reference to 'hash' is ambiguous
hash(ret, i);
^
0_0_20365596_14552.cpp:98:4: note: candidates are: ll hash(ll, int)
ll hash(ll x,int id)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_20365596_14552.cpp:11:
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_20365596_14552.cpp:156:10: error: reference to 'hash' is ambiguous
ll j = hash(num, -1);
^
0_0_20365596_14552.cpp:98:4: note: candidates are: ll hash(ll, int)
ll hash(ll x,int id)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1181:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65,
from 0_0_20365596_14552.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
|