0_0_15886670_10125.cpp: In function 'bool insert(int (*)[8])':
0_0_15886670_10125.cpp:33:46: error: reference to 'next' is ambiguous
for(int i = first[tmp%mod]; i != -1; i = next[i])
^
0_0_15886670_10125.cpp:8:27: note: candidates are: LL next [1000007]
LL hash[mod], first[mod], next[mod], cnt;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_15886670_10125.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_15886670_10125.cpp:35:12: error: reference to 'hash' is ambiguous
if(hash[i] == tmp)
^
0_0_15886670_10125.cpp:8:4: note: candidates are: LL hash [1000007]
LL hash[mod], first[mod], next[mod], cnt;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_15886670_10125.cpp:2:
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_15886670_10125.cpp:38:5: error: reference to 'hash' is ambiguous
hash[cnt] = tmp;
^
0_0_15886670_10125.cpp:8:4: note: candidates are: LL hash [1000007]
LL hash[mod], first[mod], next[mod], cnt;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_15886670_10125.cpp:2:
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_15886670_10125.cpp:39:5: error: reference to 'next' is ambiguous
next[cnt] = first[tmp%mod];
^
0_0_15886670_10125.cpp:8:27: note: candidates are: LL next [1000007]
LL hash[mod], first[mod], next[mod], cnt;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_15886670_10125.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_15886670_10125.cpp: In function 'int main()':
0_0_15886670_10125.cpp:129:16: error: reference to 'hash' is ambiguous
memset(hash, -1, sizeof(hash));
^
0_0_15886670_10125.cpp:8:4: note: candidates are: LL hash [1000007]
LL hash[mod], first[mod], next[mod], cnt;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_15886670_10125.cpp:2:
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_15886670_10125.cpp:129:33: error: reference to 'hash' is ambiguous
memset(hash, -1, sizeof(hash));
^
0_0_15886670_10125.cpp:8:4: note: candidates are: LL hash [1000007]
LL hash[mod], first[mod], next[mod], cnt;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_15886670_10125.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
|