0_0_39064116_27025.cpp: In function 'int main()':
0_0_39064116_27025.cpp:80:15: error: reference to 'hash' is ambiguous
80 | eid=0;hash.clear();
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_bvector.h:61,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/vector:67,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/queue:63,
from 0_0_39064116_27025.cpp:3:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39064116_27025.cpp:31:12: note: 'std::map<long long int, int> hash'
31 | map<LL,int>hash;
| ^~~~
0_0_39064116_27025.cpp:106:17: error: reference to 'hash' is ambiguous
106 | if(!hash.count(pval[h]))hash[pval[h]]=u;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39064116_27025.cpp:31:12: note: 'std::map<long long int, int> hash'
31 | map<LL,int>hash;
| ^~~~
0_0_39064116_27025.cpp:106:37: error: reference to 'hash' is ambiguous
106 | if(!hash.count(pval[h]))hash[pval[h]]=u;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39064116_27025.cpp:31:12: note: 'std::map<long long int, int> hash'
31 | map<LL,int>hash;
| ^~~~
0_0_39064116_27025.cpp:154:19: error: reference to 'hash' is ambiguous
154 | int k=hash[max(pval[a],pval[b])];
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39064116_27025.cpp:31:12: note: 'std::map<long long int, int> hash'
31 | map<LL,int>hash;
| ^~~~
|