0_0_39698768_14578.cpp: In function 'void Dijkstra()':
0_0_39698768_14578.cpp:13:27: error: reference to 'map' is ambiguous
13 | dist[i] = map[0][i];
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:63,
from .\stdc++.h:152:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
0_0_39698768_14578.cpp:30:52: error: reference to 'map' is ambiguous
30 | if (s[i] == 0 && dist[u] + map[u][i] < dist[i]) {
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
0_0_39698768_14578.cpp:31:53: error: reference to 'map' is ambiguous
31 | dist[i] = dist[u] + map[u][i];
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
0_0_39698768_14578.cpp: In function 'int main()':
0_0_39698768_14578.cpp:51:33: error: reference to 'map' is ambiguous
51 | map[i][j] = MAX;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
0_0_39698768_14578.cpp:55:25: error: reference to 'map' is ambiguous
55 | map[a][b] = t;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
0_0_39698768_14578.cpp:56:25: error: reference to 'map' is ambiguous
56 | map[b][a] = t;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
0_0_39698768_14578.cpp:64:25: error: reference to 'map' is ambiguous
64 | map[0][x] = 0;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
0_0_39698768_14578.cpp:65:25: error: reference to 'map' is ambiguous
65 | map[x][0] = 0;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39698768_14578.cpp:7:37: note: 'int map [1005][1005]'
7 | int s[1005], dist[1005], des[1005], map[1005][1005];
| ^~~
|