F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_20490643_8099.cpp: In function 'bool OK(int, int, int)':
0_0_20490643_8099.cpp:39:8: error: reference to 'map' is ambiguous
     if(map[i][j]=='B'&&(va&1))
        ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:41:8: error: reference to 'map' is ambiguous
     if(map[i][j]=='Y'&&(va&2))
        ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:43:8: error: reference to 'map' is ambiguous
     if(map[i][j]=='R'&&(va&4))
        ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:45:8: error: reference to 'map' is ambiguous
     if(map[i][j]=='G'&&(va&8))
        ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp: In function 'int bfs()':
0_0_20490643_8099.cpp:62:38: error: reference to 'map' is ambiguous
             if(i<n&&i>=0&&j<m&&j>=0&&map[i][j]!='#')
                                      ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:69:25: error: reference to 'map' is ambiguous
                 else if(map[i][j]=='b'&&!flag[i][j][t.v|1])
                         ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:74:25: error: reference to 'map' is ambiguous
                 else if(map[i][j]=='y'&&!flag[i][j][t.v|2])
                         ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:79:25: error: reference to 'map' is ambiguous
                 else if(map[i][j]=='r'&&!flag[i][j][t.v|4])
                         ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:84:25: error: reference to 'map' is ambiguous
                 else if(map[i][j]=='g'&&!flag[i][j][t.v|8])
                         ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:89:25: error: reference to 'map' is ambiguous
                 else if(map[i][j]=='.'&&!flag[i][j][t.v])
                         ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:94:25: error: reference to 'map' is ambiguous
                 else if(map[i][j]=='X')
                         ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp: In function 'int main()':
0_0_20490643_8099.cpp:108:22: error: reference to 'map' is ambiguous
                 cin>>map[i][j];
                      ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:109:20: error: reference to 'map' is ambiguous
                 if(map[i][j]=='*')
                    ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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_20490643_8099.cpp:112:23: error: reference to 'map' is ambiguous
         f.cnt=0;f.v=0;map[f.x][f.y]='.';
                       ^
0_0_20490643_8099.cpp:23:6: note: candidates are: char map [101][101]
 char map[101][101];
      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_20490643_8099.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
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-03 12:35:04, Gzip enabled