0_0_36666173_29445.cpp: In function 'int MatrixPow(int)':
0_0_36666173_29445.cpp:35:25: error: reference to 'array' is ambiguous
if(k&1)MatrixMult(sum,array);
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:36:14: error: reference to 'array' is ambiguous
MatrixMult(array,array);
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:36:20: error: reference to 'array' is ambiguous
MatrixMult(array,array);
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp: In function 'int main()':
0_0_36666173_29445.cpp:46:3: error: reference to 'array' is ambiguous
array[0][0]=array[0][1]=1,array[0][2]=array[0][3]=0;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:46:15: error: reference to 'array' is ambiguous
array[0][0]=array[0][1]=1,array[0][2]=array[0][3]=0;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:46:29: error: reference to 'array' is ambiguous
array[0][0]=array[0][1]=1,array[0][2]=array[0][3]=0;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:46:41: error: reference to 'array' is ambiguous
array[0][0]=array[0][1]=1,array[0][2]=array[0][3]=0;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:47:3: error: reference to 'array' is ambiguous
array[1][0]=0,array[1][1]=(x*x)%mod,array[1][2]=(y*y)%mod,array[1][3]=(2*x*y)%mod;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:47:17: error: reference to 'array' is ambiguous
array[1][0]=0,array[1][1]=(x*x)%mod,array[1][2]=(y*y)%mod,array[1][3]=(2*x*y)%mod;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:47:39: error: reference to 'array' is ambiguous
array[1][0]=0,array[1][1]=(x*x)%mod,array[1][2]=(y*y)%mod,array[1][3]=(2*x*y)%mod;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:47:61: error: reference to 'array' is ambiguous
array[1][0]=0,array[1][1]=(x*x)%mod,array[1][2]=(y*y)%mod,array[1][3]=(2*x*y)%mod;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:48:3: error: reference to 'array' is ambiguous
array[2][0]=array[2][2]=array[2][3]=0,array[2][1]=1;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
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_36666173_29445.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_36666173_29445.cpp:48:15: error: reference to 'array' is ambiguous
array[2][0]=array[2][2]=array[2][3]=0,array[2][1]=1;
^
0_0_36666173_29445.cpp:15:5: note: candidates are: int array [4][4]
int array[MAX][MAX],sum[MAX][MAX];
^
In file included from D:/HDOJ/Compile
|