0_0_33389684_18861.cpp: In function 'void init()':
0_0_33389684_18861.cpp:14:13: error: reference to 'map' is ambiguous
map[i][j]=i==j?0:INF;
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp: In function 'int dj(int)':
0_0_33389684_18861.cpp:36:42: error: reference to 'map' is ambiguous
if(!vis[j]&&low[j]>low[next]+map[next][j])
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:38:34: error: reference to 'map' is ambiguous
low[j]=low[next]+map[next][j];
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp: In function 'int main()':
0_0_33389684_18861.cpp:55:16: error: reference to 'map' is ambiguous
if(map[a][b]>c)
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:56:13: error: reference to 'map' is ambiguous
map[a][b]=map[b][a]=c;
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:56:23: error: reference to 'map' is ambiguous
map[a][b]=map[b][a]=c;
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:62:19: error: reference to 'map' is ambiguous
int x=map[i][p[i]];
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:63:13: error: reference to 'map' is ambiguous
map[i][p[i]]=map[p[i]][i]=INF;
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:63:26: error: reference to 'map' is ambiguous
map[i][p[i]]=map[p[i]][i]=INF;
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:65:13: error: reference to 'map' is ambiguous
map[i][p[i]]=map[p[i]][i]=x;
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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_33389684_18861.cpp:65:26: error: reference to 'map' is ambiguous
map[i][p[i]]=map[p[i]][i]=x;
^
0_0_33389684_18861.cpp:6:5: note: candidates are: int map [1010][1010]
int map[MAX][MAX];
^
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_33389684_18861.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
^
|