Compile Error

foo.cc: In function 'int main()':
foo.cc:6:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n;i++)
     ^~~
foo.cc:9:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=1;i<=m;i++)
  ^~~
foo.cc:15:10: error: 'i' was not declared in this scope
        c[i][j]+=a[i][t]*b[t][j];
          ^
foo.cc:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int k=1;k<=n;k++)
     ^~~
foo.cc:17:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=1;i<=n;i++)
  ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1095 6-2 矩阵乘法
语言
C++
递交时间
2021-12-01 16:58:17
评测时间
2021-12-01 16:58:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes