0_0_15612234_16937.cpp: In function 'void insert(int, int)':
0_0_15612234_16937.cpp:39:15: error: reference to 'hash' is ambiguous
before[rel]=hash[sum];
^
0_0_15612234_16937.cpp:23:5: note: candidates are: int hash [2333333]
int hash[Mo],edx[N*5],before[N*5],edy[N*5],edz[N*5],rel;
^
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_15612234_16937.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_15612234_16937.cpp:40:3: error: reference to 'hash' is ambiguous
hash[sum]=rel;
^
0_0_15612234_16937.cpp:23:5: note: candidates are: int hash [2333333]
int hash[Mo],edx[N*5],before[N*5],edy[N*5],edz[N*5],rel;
^
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_15612234_16937.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_15612234_16937.cpp: In function 'int Find(int, int)':
0_0_15612234_16937.cpp:46:10: error: reference to 'hash' is ambiguous
for (i=hash[sum];i;i=before[i])
^
0_0_15612234_16937.cpp:23:5: note: candidates are: int hash [2333333]
int hash[Mo],edx[N*5],before[N*5],edy[N*5],edz[N*5],rel;
^
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_15612234_16937.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_15612234_16937.cpp: In function 'int main()':
0_0_15612234_16937.cpp:188:17: error: reference to 'hash' is ambiguous
memset(hash,0,sizeof(hash));
^
0_0_15612234_16937.cpp:23:5: note: candidates are: int hash [2333333]
int hash[Mo],edx[N*5],before[N*5],edy[N*5],edz[N*5],rel;
^
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_15612234_16937.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_15612234_16937.cpp:188:31: error: reference to 'hash' is ambiguous
memset(hash,0,sizeof(hash));
^
0_0_15612234_16937.cpp:23:5: note: candidates are: int hash [2333333]
int hash[Mo],edx[N*5],before[N*5],edy[N*5],edz[N*5],rel;
^
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_15612234_16937.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;
^
|