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_22397499_16583.cpp: In function 'bool judge()':
0_0_22397499_16583.cpp:30:15: error: reference to 'map' is ambiguous
       if(vis2[map[i][j]]==0)
               ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:31:12: error: reference to 'map' is ambiguous
       vis2[map[i][j]]++;
            ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:33:15: error: reference to 'map' is ambiguous
       if(vis1[map[j][i]]==0)
               ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:34:12: error: reference to 'map' is ambiguous
       vis1[map[j][i]]++;
            ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:44:19: error: reference to 'map' is ambiguous
           if(vis3[map[i+k][j+l]]==0){
                   ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:45:18: error: reference to 'map' is ambiguous
             vis3[map[i+k][j+l]]++;
                  ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp: In function 'int dfs(ll)':
0_0_22397499_16583.cpp:57:10: error: reference to 'map' is ambiguous
     sum+=map[a.x][i];
          ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:58:8: error: reference to 'map' is ambiguous
     if(map[a.x][i]==0)c++;
        ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:68:10: error: reference to 'map' is ambiguous
     sum+=map[i][a.y];
          ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:69:8: error: reference to 'map' is ambiguous
     if(map[i][a.y]==0)c++;
        ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:107:12: error: reference to 'map' is ambiguous
       sum+=map[a.x+i][a.y+j];
            ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:109:10: error: reference to 'map' is ambiguous
       if(map[a.x+i][a.y+j]==0)c++;
          ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp: In function 'int main()':
0_0_22397499_16583.cpp:132:9: error: reference to 'map' is ambiguous
         map[i][j]=str[i][j]-'0';
         ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:133:13: error: reference to 'map' is ambiguous
         if(!map[i][j]){
             ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:149:7: error: reference to 'map' is ambiguous
       map[p[i].x][p[i].y]=tmp;
       ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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_22397499_16583.cpp:155:17: error: reference to 'map' is ambiguous
           cout<<map[i][j];
                 ^
0_0_22397499_16583.cpp:17:5: note: candidates are: int map [10][10]
 int map[10][10];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_22397499_16583.cpp:2:
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-29 18:40:58, Gzip enabled