0_0_31578555_21438.cpp: In function 'void MatrixPow(int)':
0_0_31578555_21438.cpp:40:25: error: reference to 'array' is ambiguous
if(k&1)MatrixMult(sum,array);
^
0_0_31578555_21438.cpp:15:5: note: candidates are: int array [90][90]
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_31578555_21438.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_31578555_21438.cpp:41:14: error: reference to 'array' is ambiguous
MatrixMult(array,array);
^
0_0_31578555_21438.cpp:15:5: note: candidates are: int array [90][90]
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_31578555_21438.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_31578555_21438.cpp:41:20: error: reference to 'array' is ambiguous
MatrixMult(array,array);
^
0_0_31578555_21438.cpp:15:5: note: candidates are: int array [90][90]
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_31578555_21438.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_31578555_21438.cpp: In function 'int main()':
0_0_31578555_21438.cpp:48:10: error: reference to 'array' is ambiguous
memset(array,0,sizeof array);
^
0_0_31578555_21438.cpp:15:5: note: candidates are: int array [90][90]
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_31578555_21438.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_31578555_21438.cpp:48:25: error: reference to 'array' is ambiguous
memset(array,0,sizeof array);
^
0_0_31578555_21438.cpp:15:5: note: candidates are: int array [90][90]
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_31578555_21438.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_31578555_21438.cpp:51:4: error: reference to 'array' is ambiguous
array[a-1][i]=1;//³õʼ¾ØÕó
^
0_0_31578555_21438.cpp:15:5: note: candidates are: int array [90][90]
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_31578555_21438.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
^
|