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_15596839_9062.cpp: In function 'int main()':
0_0_15596839_9062.cpp:35:15: error: reference to 'array' is ambiguous
         fill(*array , *array + MAX * MAX , -1);
               ^
0_0_15596839_9062.cpp:25:5: note: candidates are: int array [30][30]
 int array[MAX][MAX];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15596839_9062.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_15596839_9062.cpp:35:24: error: reference to 'array' is ambiguous
         fill(*array , *array + MAX * MAX , -1);
                        ^
0_0_15596839_9062.cpp:25:5: note: candidates are: int array [30][30]
 int array[MAX][MAX];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15596839_9062.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_15596839_9062.cpp:39:14: error: reference to 'array' is ambiguous
             {array[i][j] = cipher[cnt ++] - '0';}
              ^
0_0_15596839_9062.cpp:25:5: note: candidates are: int array [30][30]
 int array[MAX][MAX];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15596839_9062.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_15596839_9062.cpp:51:20: error: reference to 'array' is ambiguous
                 if(array[x][y] == -1 || x < 0 || x >= r || y < 0 || y >= c)
                    ^
0_0_15596839_9062.cpp:25:5: note: candidates are: int array [30][30]
 int array[MAX][MAX];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15596839_9062.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_15596839_9062.cpp:54:27: error: reference to 'array' is ambiguous
                     while(array[px][py] == -1 || px < 0 || px >= r || py < 0 || py >= c)
                           ^
0_0_15596839_9062.cpp:25:5: note: candidates are: int array [30][30]
 int array[MAX][MAX];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15596839_9062.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_15596839_9062.cpp:62:37: error: reference to 'array' is ambiguous
                     val = 2 * val + array[x][y];
                                     ^
0_0_15596839_9062.cpp:25:5: note: candidates are: int array [30][30]
 int array[MAX][MAX];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15596839_9062.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^
0_0_15596839_9062.cpp:63:17: error: reference to 'array' is ambiguous
                 array[x][y] = -1;
                 ^
0_0_15596839_9062.cpp:25:5: note: candidates are: int array [30][30]
 int array[MAX][MAX];
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_15596839_9062.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note:                 template<class _Tp, long long unsigned int _Nm> struct std::array
     struct array
            ^


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-12-02 05:11:23, Gzip enabled