0_0_14041590_13505.cpp: In function 'void init()':
0_0_14041590_13505.cpp:25:19: error: 'MAX' was not declared in this scope
for(j=0;j<MAX;j++)
^
0_0_14041590_13505.cpp:26:9: error: reference to 'map' is ambiguous
map[i][j]=1;
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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_14041590_13505.cpp: In function 'int fun(T, T)':
0_0_14041590_13505.cpp:30:5: error: reference to 'map' is ambiguous
if(map[e.x1][e.y1]==1) return 0;
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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_14041590_13505.cpp:51:7: error: reference to 'map' is ambiguous
if(map[b.x][b.y]==1) continue;
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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_14041590_13505.cpp: In function 'int bfs(T)':
0_0_14041590_13505.cpp:75:6: error: reference to 'map' is ambiguous
if(map[b.x][b.y]==3)
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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_14041590_13505.cpp:84:7: error: reference to 'map' is ambiguous
if(map[p.x][p.y]!=1)
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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_14041590_13505.cpp: In function 'int main()':
0_0_14041590_13505.cpp:116:17: error: reference to 'map' is ambiguous
scanf("%d",&map[i][j]);
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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_14041590_13505.cpp:117:8: error: reference to 'map' is ambiguous
if(map[i][j]==2)
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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_14041590_13505.cpp:122:13: error: reference to 'map' is ambiguous
else if(map[i][j]==4)
^
0_0_14041590_13505.cpp:9:5: note: candidates are: int map [10][10]
int map[MAXN][MAXN],vis[MAXN][MAXN][MAXN][MAXN],vis1[MAXN][MAXN];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_14041590_13505.cpp:6:
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
^
|