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_15598030_2113.cpp: In function 'void bfs(node, node)':
0_0_15598030_2113.cpp:81:24: error: reference to 'map' is ambiguous
                     if(map[a][b]!=' '&&map[a][b]!='E') 
                        ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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_15598030_2113.cpp:81:40: error: reference to 'map' is ambiguous
                     if(map[a][b]!=' '&&map[a][b]!='E') 
                                        ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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_15598030_2113.cpp:105:38: error: reference to 'map' is ambiguous
             if(a>=0&&a<n&&b>=0&&b<m&&map[a][b]!='#')
                                      ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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_15598030_2113.cpp:107:20: error: reference to 'map' is ambiguous
                 if(map[a][b]!='*'&&((da[a][b]>vn.da||(da[a][b]==vn.da&&A[a][b]>vn.A+1)||((da[a][b]==vn.da&&A[a][b]==vn.A+1&&jia[a][b]>vn.j)))))
                    ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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_15598030_2113.cpp:120:25: error: reference to 'map' is ambiguous
                 else if(map[a][b]=='*'&&vn.res>=c&&((da[a][b]>vn.da||(da[a][b]==vn.da&&A[a][b]>vn.A+1)||((da[a][b]==vn.da&&A[a][b]==vn.A+1&&jia[a][b]>vn.j+1)))))
                         ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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_15598030_2113.cpp: In function 'int main()':
0_0_15598030_2113.cpp:146:35: error: reference to 'map' is ambiguous
         for(int i=0;i<n;i++) gets(map[i]);
                                   ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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_15598030_2113.cpp:153:20: error: reference to 'map' is ambiguous
                 if(map[i][j]=='S') vs.x=i,vs.y=j;
                    ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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_15598030_2113.cpp:154:25: error: reference to 'map' is ambiguous
                 else if(map[i][j]=='E') ve.x=i,ve.y=j;
                         ^
0_0_15598030_2113.cpp:43: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_15598030_2113.cpp:9:
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-11-30 05:22:52, Gzip enabled