/in/foo.cc: In function 'bool dfs(int)':
/in/foo.cc:12:23: error: reference to 'map' is ambiguous
if(!visit[i]&&map[x][i])
^~~
/in/foo.cc:4:5: note: candidates are: int map [102][102]
int map[102][102];
^~~
In file included from /usr/include/c++/6/map:61:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:81,
from /in/foo.cc:1:
/usr/include/c++/6/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:17: error: reference to 'map' is ambiguous
map[i][j]=1;
^~~
/in/foo.cc:4:5: note: candidates are: int map [102][102]
int map[102][102];
^~~
In file included from /usr/include/c++/6/map:61:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:81,
from /in/foo.cc:1:
/usr/include/c++/6/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^~~