/in/foo.cc: In function 'bool Hungry_Dfs(int)':
/in/foo.cc:34:12: error: reference to 'map' is ambiguous
if(map[Now][i]&&!vst[i]) {
^~~
/in/foo.cc:31:5: note: candidates are: int map [105][105]
int map[105][105],vst[105],To[105],From[105];
^~~
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:2:
/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 'void Dfs(int, int)':
/in/foo.cc:64:16: error: reference to 'map' is ambiguous
if(map[i][Front]&&!vst[From[i]]) { //如果当前的炸弹可以被交换,那么当前的入队
^~~
/in/foo.cc:31:5: note: candidates are: int map [105][105]
int map[105][105],vst[105],To[105],From[105];
^~~
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:2:
/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:74:28: error: reference to 'map' is ambiguous
for(int i=1; i<=n; i++)map[sum+1][i]=f[i][Now][Maxl]; //统计有的边
^~~
/in/foo.cc:31:5: note: candidates are: int map [105][105]
int map[105][105],vst[105],To[105],From[105];
^~~
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:2:
/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:77:32: error: reference to 'map' is ambiguous
for(int j=1; j<=n; j++)map[sum+1][j]=f[j][Now][i]; //统计有的边
^~~
/in/foo.cc:31:5: note: candidates are: int map [105][105]
int map[105][105],vst[105],To[105],From[105];
^~~
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:2:
/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
^~~