0_0_33168934_13032.cpp: In function 'void topo()':
0_0_33168934_13032.cpp:10:8: error: reference to 'map' is ambiguous
if(map[i][j]!=0)
^
0_0_33168934_13032.cpp:3:6: note: candidates are: int map [505][505]
int map[505][505],in[505][505],flag[505],n,m;
^
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_33168934_13032.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_33168934_13032.cpp:11:10: error: lvalue required as increment operand
in[j]++;
^
0_0_33168934_13032.cpp:20:9: error: incompatible types in assignment of 'int' to 'int [505]'
in[k]=-1;
^
0_0_33168934_13032.cpp:23:8: error: reference to 'map' is ambiguous
if(map[k][j]!=0)
^
0_0_33168934_13032.cpp:3:6: note: candidates are: int map [505][505]
int map[505][505],in[505][505],flag[505],n,m;
^
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_33168934_13032.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_33168934_13032.cpp:24:10: error: lvalue required as decrement operand
in[j]--;
^
0_0_33168934_13032.cpp: In function 'int main()':
0_0_33168934_13032.cpp:33:11: error: reference to 'map' is ambiguous
memset(map,0,sizeof(map));
^
0_0_33168934_13032.cpp:3:6: note: candidates are: int map [505][505]
int map[505][505],in[505][505],flag[505],n,m;
^
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_33168934_13032.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_33168934_13032.cpp:33:24: error: reference to 'map' is ambiguous
memset(map,0,sizeof(map));
^
0_0_33168934_13032.cpp:3:6: note: candidates are: int map [505][505]
int map[505][505],in[505][505],flag[505],n,m;
^
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_33168934_13032.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_33168934_13032.cpp:39:5: error: reference to 'map' is ambiguous
map[a][b]=1;
^
0_0_33168934_13032.cpp:3:6: note: candidates are: int map [505][505]
int map[505][505],in[505][505],flag[505],n,m;
^
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_33168934_13032.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
^
|