0_0_39454522_4802.cpp: In function 'int main()':
0_0_39454522_4802.cpp:17:29: error: reference to 'map' is ambiguous
17 | scanf("%d",&map[i][j]);
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:63,
from .\stdc++.h:152:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39454522_4802.cpp:4:5: note: 'int map [55][55]'
4 | int map[N][N],Next[2][4]={0,1,1,0,-1,0,0,-1};
| ^~~
0_0_39454522_4802.cpp:18:24: error: reference to 'map' is ambiguous
18 | sum += map[i][j];
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39454522_4802.cpp:4:5: note: 'int map [55][55]'
4 | int map[N][N],Next[2][4]={0,1,1,0,-1,0,0,-1};
| ^~~
0_0_39454522_4802.cpp:19:20: error: reference to 'map' is ambiguous
19 | if(map[i][j]> 0)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39454522_4802.cpp:4:5: note: 'int map [55][55]'
4 | int map[N][N],Next[2][4]={0,1,1,0,-1,0,0,-1};
| ^~~
0_0_39454522_4802.cpp:28:20: error: reference to 'map' is ambiguous
28 | if(map[i][j] > 0)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39454522_4802.cpp:4:5: note: 'int map [55][55]'
4 | int map[N][N],Next[2][4]={0,1,1,0,-1,0,0,-1};
| ^~~
0_0_39454522_4802.cpp:29:34: error: reference to 'map' is ambiguous
29 | sum = sum - (map[i][j]-1)*2;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39454522_4802.cpp:4:5: note: 'int map [55][55]'
4 | int map[N][N],Next[2][4]={0,1,1,0,-1,0,0,-1};
| ^~~
0_0_39454522_4802.cpp:36:32: error: reference to 'map' is ambiguous
36 | sum -= min(map[x][y],map[i][j]);
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39454522_4802.cpp:4:5: note: 'int map [55][55]'
4 | int map[N][N],Next[2][4]={0,1,1,0,-1,0,0,-1};
| ^~~
0_0_39454522_4802.cpp:36:42: error: reference to 'map' is ambiguous
36 | sum -= min(map[x][y],map[i][j]);
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39454522_4802.cpp:4:5: note: 'int map [55][55]'
4 | int map[N][N],Next[2][4]={0,1,1,0,-1,0,0,-1};
| ^~~
|