0_0_20404897_407.cpp: In function 'long long int MatrixPow(int&, int&)':
0_0_20404897_407.cpp:69:25: error: reference to 'array' is ambiguous
if(k&1)MatrixMult(sum,array,x);
^
0_0_20404897_407.cpp:27:9: note: candidates are: long long int array [60][60]
__int64 array[MAX][MAX],sum[MAX][MAX],mod;
^
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_20404897_407.cpp:21:
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_20404897_407.cpp:70:14: error: reference to 'array' is ambiguous
MatrixMult(array,array,x);
^
0_0_20404897_407.cpp:27:9: note: candidates are: long long int array [60][60]
__int64 array[MAX][MAX],sum[MAX][MAX],mod;
^
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_20404897_407.cpp:21:
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_20404897_407.cpp:70:20: error: reference to 'array' is ambiguous
MatrixMult(array,array,x);
^
0_0_20404897_407.cpp:27:9: note: candidates are: long long int array [60][60]
__int64 array[MAX][MAX],sum[MAX][MAX],mod;
^
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_20404897_407.cpp:21:
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_20404897_407.cpp: In function 'int main()':
0_0_20404897_407.cpp:79:14: error: reference to 'array' is ambiguous
MatrixInit(array,x,1);
^
0_0_20404897_407.cpp:27:9: note: candidates are: long long int array [60][60]
__int64 array[MAX][MAX],sum[MAX][MAX],mod;
^
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_20404897_407.cpp:21:
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
^
|