记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:13: error: declaration of 'c' as multidimensional array must have bounds for all dimensions except the first
    7 |         int c[][]={0};
      |             ^
/in/foo.cc:11:17: error: 'c' was not declared in this scope
   11 |                 c[i][j] += a[i][k]*b[k][j];
      |                 ^
/in/foo.cc:17:21: error: 'c' was not declared in this scope
   17 |             cout << c[i][j];
      |                     ^

信息

递交者
类型
递交
题目
6-2 矩阵乘法
比赛
2025年春 南师大《程序设计与竞赛》作业赛第六场
语言
C++
递交时间
2025-05-11 15:31:53
评测时间
2025-05-11 15:31:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes