0_0_25068030_2255.cpp: In function 'int dfs(int, int)':
0_0_25068030_2255.cpp:11:15: error: reference to 'map' is ambiguous
for(i=s;i<=s+map[s][r]&&i<=n;i++)
^
0_0_25068030_2255.cpp:6:5: note: candidates are: int map [150][150]
int map[150][150],dp[150][150];
^
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_25068030_2255.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_25068030_2255.cpp:13:16: error: reference to 'map' is ambiguous
for(j=r;j<=r+map[s][r]-i+s&&j<=m;j++)
^
0_0_25068030_2255.cpp:6:5: note: candidates are: int map [150][150]
int map[150][150],dp[150][150];
^
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_25068030_2255.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_25068030_2255.cpp: In function 'int main()':
0_0_25068030_2255.cpp:35:14: error: reference to 'map' is ambiguous
scanf("%d",map[i]+j);
^
0_0_25068030_2255.cpp:6:5: note: candidates are: int map [150][150]
int map[150][150],dp[150][150];
^
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_25068030_2255.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
^
|