0_0_26741447_14464.cpp: In function 'void hash_insert(int)':
0_0_26741447_14464.cpp:50:16: error: reference to 'hash' is ambiguous
for(int i=0;i<hash[y][0].size();i++)
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp:51:7: error: reference to 'hash' is ambiguous
if( hash[y][0][i] == x ) return ;
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp:52:2: error: reference to 'hash' is ambiguous
hash[y][0].push_back(x);
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp:53:2: error: reference to 'hash' is ambiguous
hash[y][1].push_back(++siz);
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp: In function 'int hash_search(int)':
0_0_26741447_14464.cpp:57:16: error: reference to 'hash' is ambiguous
for(int i=0;i<hash[y][0].size();i++)
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp:58:7: error: reference to 'hash' is ambiguous
if( hash[y][0][i] == x ) return hash[y][1][i];
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp:58:35: error: reference to 'hash' is ambiguous
if( hash[y][0][i] == x ) return hash[y][1][i];
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp: In function 'void solve()':
0_0_26741447_14464.cpp:64:3: error: reference to 'hash' is ambiguous
hash[i][0].clear();
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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_26741447_14464.cpp:65:3: error: reference to 'hash' is ambiguous
hash[i][1].clear();
^
0_0_26741447_14464.cpp:38:12: note: candidates are: std::vector<int> hash [1000037][2]
vector<int>hash[MOD][2];
^
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_26741447_14464.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;
^
|