0_0_36277597_23987.cpp: In function 'void dijkstra(int)':
0_0_36277597_23987.cpp:37:34: error: reference to 'map' is ambiguous
if(!visit[i]&&dis[i]>map[id][i]+val)
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:39:24: error: reference to 'map' is ambiguous
dis[i]=map[id][i]+val;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:41:28: error: reference to 'map' is ambiguous
nt.val=val+map[id][i];
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp: In function 'int main()':
0_0_36277597_23987.cpp:57:26: error: reference to 'map' is ambiguous
if(i==j) map[i][j]=0;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:58:22: error: reference to 'map' is ambiguous
else map[i][j]=INF;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:66:16: error: reference to 'map' is ambiguous
if(map[a][b]>c) map[a][b]=map[b][a]=c;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:66:29: error: reference to 'map' is ambiguous
if(map[a][b]>c) map[a][b]=map[b][a]=c;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:66:39: error: reference to 'map' is ambiguous
if(map[a][b]>c) map[a][b]=map[b][a]=c;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:71:13: error: reference to 'map' is ambiguous
map[0][s[i]]=map[s[i]][0]=0;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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_36277597_23987.cpp:71:26: error: reference to 'map' is ambiguous
map[0][s[i]]=map[s[i]][0]=0;
^
0_0_36277597_23987.cpp:7:5: note: candidates are: int map [1005][1005]
int map[1005][1005];
^
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_36277597_23987.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
^
|