0_0_28954317_26579.cpp: In function 'void Dijkstra()':
0_0_28954317_26579.cpp:13:18: error: reference to 'map' is ambiguous
dis[i] = map[0][i];
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp:27:16: error: reference to 'map' is ambiguous
if(map[u][v] < INF){
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp:28:38: error: reference to 'map' is ambiguous
if(dis[v] > dis[u] + map[u][v]){
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp:29:39: error: reference to 'map' is ambiguous
dis[v] = dis[u] + map[u][v];
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp: In function 'int main()':
0_0_28954317_26579.cpp:40:17: error: reference to 'map' is ambiguous
map[i][j]=INF;
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp:42:13: error: reference to 'map' is ambiguous
map[i][i]=0;
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp:47:18: error: reference to 'map' is ambiguous
if(t<map[p][q]){
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp:48:17: error: reference to 'map' is ambiguous
map[p][q]=t;
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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_28954317_26579.cpp:55:13: error: reference to 'map' is ambiguous
map[0][w] = 0;
^
0_0_28954317_26579.cpp:6:5: note: candidates are: int map [1001][1001]
int map[1001][1001];
^
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_28954317_26579.cpp:1:
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
^
|