n阶矩阵相乘
# include<stdio.h>
int main()
{
int n,i,j,k;
scanf("%d",&n);
int a[n][n],b[n][n],c[n][n];
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
scanf("%d",&a[i][j]);
}
}
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++
n阶矩阵相乘
# include<stdio.h>
int main()
{
int n,i,j,k;
scanf("%d",&n);
int a[n][n],b[n][n],c[n][n];
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
scanf("%d",&a[i][j]);
}
}
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++