0_0_34792821_3742.cpp: In function 'int find(int)':
0_0_34792821_3742.cpp:30:19: error: reference to 'map' is ambiguous
for(int j=0;j<map[i].size();j++)
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp:31:14: error: reference to 'map' is ambiguous
if(!vist[map[i][j]])
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp:33:14: error: reference to 'map' is ambiguous
vist[map[i][j]]=1;
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp:34:18: error: reference to 'map' is ambiguous
if(match[map[i][j]]==-1||find(match[map[i][j]]))
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp:34:45: error: reference to 'map' is ambiguous
if(match[map[i][j]]==-1||find(match[map[i][j]]))
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp:36:19: error: reference to 'map' is ambiguous
match[map[i][j]]=i; return 1;
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp: In function 'int main()':
0_0_34792821_3742.cpp:49:13: error: reference to 'map' is ambiguous
map[i].clear(),match[i]=-1;
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp:66:21: error: reference to 'map' is ambiguous
map[ti*m+tj].push_back(i*m+j);
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_34792821_3742.cpp:67:21: error: reference to 'map' is ambiguous
map[i*m+j].push_back(ti*m+tj);
^
0_0_34792821_3742.cpp:27:12: note: candidates are: std::vector<int> map [2505]
vector<int>map[2505];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_34792821_3742.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
|