0_0_21591008_11966.cpp: In function 'void MakeRoad(int, int)':
0_0_21591008_11966.cpp:29:25: error: reference to 'array' is ambiguous
temp[0][i]+=array[a][i][j]*temp[b][j];//相当于array[a]*array[b]*[0,1,2,3...m];//[0...m-1]是行矩阵
^
0_0_21591008_11966.cpp:15:5: note: candidates are: int array [90][90][90]
int array[MAX][MAX][MAX],temp[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_21591008_11966.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_21591008_11966.cpp: In function 'int main()':
0_0_21591008_11966.cpp:56:33: error: reference to 'array' is ambiguous
scanf("%d",&array[i][j][k]);
^
0_0_21591008_11966.cpp:15:5: note: candidates are: int array [90][90][90]
int array[MAX][MAX][MAX],temp[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_21591008_11966.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_21591008_11966.cpp:57:33: error: reference to 'array' is ambiguous
temp[i][j]+=array[i][j][k]*k;//array*[1,...m],[1...m]是一维行矩阵
^
0_0_21591008_11966.cpp:15:5: note: candidates are: int array [90][90][90]
int array[MAX][MAX][MAX],temp[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_21591008_11966.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
^
|