记录详情

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];
      |                     ^

信息

递交者
类型
自测
语言
C++
递交时间
2025-05-11 15:31:20
评测时间
2025-05-11 15:31:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes