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_29373415_7199.cpp: In function 'int MatrixPow(int)':
0_0_29373415_7199.cpp:35:2: error: reference to 'array' is ambiguous
  array[0][0]=0,array[0][1]=array[0][4]=1,array[0][2]=3,array[0][3]=-3;
  ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:35:16: error: reference to 'array' is ambiguous
  array[0][0]=0,array[0][1]=array[0][4]=1,array[0][2]=3,array[0][3]=-3;
                ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:35:28: error: reference to 'array' is ambiguous
  array[0][0]=0,array[0][1]=array[0][4]=1,array[0][2]=3,array[0][3]=-3;
                            ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:35:42: error: reference to 'array' is ambiguous
  array[0][0]=0,array[0][1]=array[0][4]=1,array[0][2]=3,array[0][3]=-3;
                                          ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:35:56: error: reference to 'array' is ambiguous
  array[0][0]=0,array[0][1]=array[0][4]=1,array[0][2]=3,array[0][3]=-3;
                                                        ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:36:2: error: reference to 'array' is ambiguous
  array[1][0]=1,array[1][1]=array[1][2]=array[1][3]=array[1][4]=0;
  ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:36:16: error: reference to 'array' is ambiguous
  array[1][0]=1,array[1][1]=array[1][2]=array[1][3]=array[1][4]=0;
                ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:36:28: error: reference to 'array' is ambiguous
  array[1][0]=1,array[1][1]=array[1][2]=array[1][3]=array[1][4]=0;
                            ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:36:40: error: reference to 'array' is ambiguous
  array[1][0]=1,array[1][1]=array[1][2]=array[1][3]=array[1][4]=0;
                                        ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:36:52: error: reference to 'array' is ambiguous
  array[1][0]=1,array[1][1]=array[1][2]=array[1][3]=array[1][4]=0;
                                                    ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:37:2: error: reference to 'array' is ambiguous
  array[2][0]=array[2][1]=0,array[2][2]=array[2][4]=1,array[2][3]=2;
  ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:37:14: error: reference to 'array' is ambiguous
  array[2][0]=array[2][1]=0,array[2][2]=array[2][4]=1,array[2][3]=2;
              ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int array[MAX][MAX],sum[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_29373415_7199.cpp:8:
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_29373415_7199.cpp:37:28: error: reference to 'array' is ambiguous
  array[2][0]=array[2][1]=0,array[2][2]=array[2][4]=1,array[2][3]=2;
                            ^
0_0_29373415_7199.cpp:15:5: note: candidates are: int array [5][5]
 int a


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 06:20:36, Gzip enabled