0_0_36121633_25424.cpp: In function 'int judge(int, int)':
0_0_36121633_25424.cpp:34:8: error: reference to 'map' is ambiguous
if(map[x][y]=='*'){
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp: In function 'void bfs()':
0_0_36121633_25424.cpp:53:12: error: reference to 'map' is ambiguous
if(map[x][y]=='T'){
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:64:16: error: reference to 'map' is ambiguous
if(map[x][y]=='.'||map[x][y]=='T'){//正常走
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:64:32: error: reference to 'map' is ambiguous
if(map[x][y]=='.'||map[x][y]=='T'){//正常走
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:72:20: error: reference to 'map' is ambiguous
if(map[x][y]=='-'&&ff.t%2==0){//可以过去
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:80:26: error: reference to 'map' is ambiguous
}else if(map[x][y]=='|'&&ff.t%2!=0){
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:96:20: error: reference to 'map' is ambiguous
if(map[x][y]=='|'&&ff.t%2==0){//可以过去
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:104:26: error: reference to 'map' is ambiguous
}else if(map[x][y]=='-'&&ff.t%2!=0){
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp: In function 'int main()':
0_0_36121633_25424.cpp:129:24: error: reference to 'map' is ambiguous
scanf("%s",map[i]);
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:131:20: error: reference to 'map' is ambiguous
if(map[i][j]=='S'){
^
0_0_36121633_25424.cpp:23:6: note: candidates are: char map [30][30]
char map[30][30];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_36121633_25424.cpp:12:
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_36121633_25424.cpp:138:13: error: expected '}' at end of input
return 0;
^
|