0_0_22902336_29378.cpp: In function 'void init()':
0_0_22902336_29378.cpp:26:4: error: reference to 'map' is ambiguous
map[i][j][0] = map[i][j][1] = map[i][j][2] = map[i][j][3] = 0;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp:26:19: error: reference to 'map' is ambiguous
map[i][j][0] = map[i][j][1] = map[i][j][2] = map[i][j][3] = 0;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp:26:34: error: reference to 'map' is ambiguous
map[i][j][0] = map[i][j][1] = map[i][j][2] = map[i][j][3] = 0;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp:26:49: error: reference to 'map' is ambiguous
map[i][j][0] = map[i][j][1] = map[i][j][2] = map[i][j][3] = 0;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp: In function 'void dfs(int, int, int)':
0_0_22902336_29378.cpp:37:6: error: reference to 'map' is ambiguous
if(map[x][y][i]==1)continue;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp: In function 'int main()':
0_0_22902336_29378.cpp:93:6: error: reference to 'map' is ambiguous
map[pax][j][3] = 1;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp:94:6: error: reference to 'map' is ambiguous
map[pax+1][j][1] = 1;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp:98:6: error: reference to 'map' is ambiguous
map[j][pby][0] = 1;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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_22902336_29378.cpp:99:6: error: reference to 'map' is ambiguous
map[j][pby+1][2] = 1;
^
0_0_22902336_29378.cpp:14:5: note: candidates are: int map [9][9][4]
int map[MAX][MAX][4];
^
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_22902336_29378.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
^
|