0_0_21682405_14361.cpp: In function 'int DP(int, bool, node*, bool)':
0_0_21682405_14361.cpp:100:5: error: reference to 'hash' is ambiguous
if(hash[pos][now->id] == con && !limit && !val)
^
0_0_21682405_14361.cpp:81:5: note: candidates are: int hash [805][2000]
int hash[805][2000];
^
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_21682405_14361.cpp:1:
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_21682405_14361.cpp:123:15: error: reference to 'hash' is ambiguous
if(!limit && hash[pos][now->id] != con && !val) {
^
0_0_21682405_14361.cpp:81:5: note: candidates are: int hash [805][2000]
int hash[805][2000];
^
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_21682405_14361.cpp:1:
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_21682405_14361.cpp:124:3: error: reference to 'hash' is ambiguous
hash[pos][now->id] = con;
^
0_0_21682405_14361.cpp:81:5: note: candidates are: int hash [805][2000]
int hash[805][2000];
^
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_21682405_14361.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
|