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_15597522_23271.cpp: In function 'int check()':
0_0_15597522_23271.cpp:30:8: error: reference to 'map' is ambiguous
     if(map[1][1]!=map[1][2])
        ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:30:19: error: reference to 'map' is ambiguous
     if(map[1][1]!=map[1][2])
                   ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:34:20: error: reference to 'map' is ambiguous
                 if(map[j][i]!=map[i][i])
                    ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:34:31: error: reference to 'map' is ambiguous
                 if(map[j][i]!=map[i][i])
                               ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:41:20: error: reference to 'map' is ambiguous
                 if(map[i][j]!=map[i][i])
                    ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:41:31: error: reference to 'map' is ambiguous
                 if(map[i][j]!=map[i][i])
                               ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp: In function 'int get_h()':
0_0_15597522_23271.cpp:54:15: error: reference to 'map' is ambiguous
             a[map[i][j]]++;
               ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:63:15: error: reference to 'map' is ambiguous
             a[map[i][j]]++;
               ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp: In function 'void mov_l(int)':
0_0_15597522_23271.cpp:74:13: error: reference to 'map' is ambiguous
     int t = map[i][1];
             ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:76:9: error: reference to 'map' is ambiguous
         map[i][j-1] = map[i][j];
         ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:76:23: error: reference to 'map' is ambiguous
         map[i][j-1] = map[i][j];
                       ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:77:5: error: reference to 'map' is ambiguous
     map[i][4] = t;
     ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp: In function 'void mov_r(int)':
0_0_15597522_23271.cpp:82:13: error: reference to 'map' is ambiguous
     int t = map[i][4];
             ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:84:9: error: reference to 'map' is ambiguous
         map[i][j] = map[i][j-1];
         ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:84:21: error: reference to 'map' is ambiguous
         map[i][j] = map[i][j-1];
                     ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp:85:5: error: reference to 'map' is ambiguous
     map[i][1] = t;
     ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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_15597522_23271.cpp: In function 'void mov_u(int)':
0_0_15597522_23271.cpp:90:13: error: reference to 'map' is ambiguous
     int t = map[1][j];
             ^
0_0_15597522_23271.cpp:24:5: note: candidates are: int map [5][5]
 int map[5][5];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
                 from 0_0_15597522_23271.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 ma


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-16 19:56:54, Gzip enabled