0_0_23930889_26301.cpp: In function 'int main()':
0_0_23930889_26301.cpp:86:10: error: reference to 'hash' is ambiguous
hash[mk_node[i]] = i;
^
0_0_23930889_26301.cpp:22:5: note: candidates are: int hash [100500]
int hash[N_node];
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
from 0_0_23930889_26301.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_23930889_26301.cpp:102:47: error: reference to 'hash' is ambiguous
int tmp = s_x2[0][mk_node[1]] + s_x2[hash[mk_node[s]]][1];
^
0_0_23930889_26301.cpp:22:5: note: candidates are: int hash [100500]
int hash[N_node];
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
from 0_0_23930889_26301.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_23930889_26301.cpp:104:22: error: reference to 'hash' is ambiguous
tmp += s_x2[hash[mk_node[i-1]]][mk_node[i]];
^
0_0_23930889_26301.cpp:22:5: note: candidates are: int hash [100500]
int hash[N_node];
^
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 GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:61,
from 0_0_23930889_26301.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;
^
|