0_0_39754885_16038.cpp: In function 'void Dijkstra(int)':
0_0_39754885_16038.cpp:14:24: error: reference to 'map' is ambiguous
14 | dis[i]=map[num][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_39754885_16038.cpp:6:20: note: 'std::vector<std::vector<int> > map'
6 | vector<vector<int>>map(N,vector<int>(N));
| ^~~
0_0_39754885_16038.cpp:31:51: error: reference to 'map' is ambiguous
31 | if(!vis[j]&&dis[j]>dis[k]+map[k][j])
| ^~~
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_39754885_16038.cpp:6:20: note: 'std::vector<std::vector<int> > map'
6 | vector<vector<int>>map(N,vector<int>(N));
| ^~~
0_0_39754885_16038.cpp:32:47: error: reference to 'map' is ambiguous
32 | dis[j]=dis[k]+map[k][j];
| ^~~
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_39754885_16038.cpp:6:20: note: 'std::vector<std::vector<int> > map'
6 | vector<vector<int>>map(N,vector<int>(N));
| ^~~
0_0_39754885_16038.cpp: In function 'int main()':
0_0_39754885_16038.cpp:42:33: error: reference to 'map' is ambiguous
42 | map[i][j]=INF;
| ^~~
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_39754885_16038.cpp:6:20: note: 'std::vector<std::vector<int> > map'
6 | vector<vector<int>>map(N,vector<int>(N));
| ^~~
0_0_39754885_16038.cpp:46:28: error: reference to 'map' is ambiguous
46 | if(map[u][v]>w)
| ^~~
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_39754885_16038.cpp:6:20: note: 'std::vector<std::vector<int> > map'
6 | vector<vector<int>>map(N,vector<int>(N));
| ^~~
0_0_39754885_16038.cpp:47:33: error: reference to 'map' is ambiguous
47 | map[u][v]=map[v][u]=w;
| ^~~
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_39754885_16038.cpp:6:20: note: 'std::vector<std::vector<int> > map'
6 | vector<vector<int>>map(N,vector<int>(N));
| ^~~
0_0_39754885_16038.cpp:47:43: error: reference to 'map' is ambiguous
47 | map[u][v]=map[v][u]=w;
| ^~~
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_39754885_16038.cpp:6:20: note: 'std::vector<std::vector<int> > map'
6 | vector<vector<int>>map(N,vector<int>(N));
| ^~~
|