0_0_17410239_20170.cpp: In function 'void Solve()':
0_0_17410239_20170.cpp:111:16: error: reference to 'hash' is ambiguous
memset(hash, false, sizeof(hash));
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:111:36: error: reference to 'hash' is ambiguous
memset(hash, false, sizeof(hash));
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:115:17: error: reference to 'hash' is ambiguous
hash[j] = true, f[j][0] = Find(data[i][j].a), f[j][1] = Find(data[i][j].b);
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:120:16: error: reference to 'hash' is ambiguous
if(hash[j]){
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:125:16: error: reference to 'hash' is ambiguous
memset(hash, false, sizeof(hash));
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:125:36: error: reference to 'hash' is ambiguous
memset(hash, false, sizeof(hash));
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:131:21: error: reference to 'hash' is ambiguous
if(!hash[f[t][0]])
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:132:45: error: reference to 'hash' is ambiguous
belong[f[t][0]] = ++ n, hash[f[t][0]] = true;
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:133:21: error: reference to 'hash' is ambiguous
if(!hash[f[t][1]])
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
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_17410239_20170.cpp:134:45: error: reference to 'hash' is ambiguous
belong[f[t][1]] = ++ n, hash[f[t][1]] = true;
^
0_0_17410239_20170.cpp:96:6: note: candidates are: bool hash [1004]
bool hash[MAXM];
^
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_17410239_20170.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
|