0_0_32463273_21762.cpp: In function 'void bfs1()':
0_0_32463273_21762.cpp:52:10: error: reference to 'map' is ambiguous
now.dis=map[now.x][now.y];
^
0_0_32463273_21762.cpp:12:7: note: candidates are: int map [55][55]
int n,map[N][N],dis[N][N];
^
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_32463273_21762.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_32463273_21762.cpp:82:25: error: reference to 'map' is ambiguous
if(dis[now.x][now.y]+map[next.x][next.y] >= dis[next.x][next.y]) continue;
^
0_0_32463273_21762.cpp:12:7: note: candidates are: int map [55][55]
int n,map[N][N],dis[N][N];
^
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_32463273_21762.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_32463273_21762.cpp:84:51: error: reference to 'map' is ambiguous
next.dis=dis[next.x][next.y]=dis[now.x][now.y]+map[next.x][next.y];
^
0_0_32463273_21762.cpp:12:7: note: candidates are: int map [55][55]
int n,map[N][N],dis[N][N];
^
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_32463273_21762.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_32463273_21762.cpp: In function 'int main()':
0_0_32463273_21762.cpp:188:16: error: reference to 'map' is ambiguous
scanf("%d",&map[i][l]);
^
0_0_32463273_21762.cpp:12:7: note: candidates are: int map [55][55]
int n,map[N][N],dis[N][N];
^
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_32463273_21762.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_32463273_21762.cpp:198:17: error: reference to 'map' is ambiguous
dis[n-1][n-1]=map[n-1][n-1];
^
0_0_32463273_21762.cpp:12:7: note: candidates are: int map [55][55]
int n,map[N][N],dis[N][N];
^
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_32463273_21762.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
^
|