记录详情

Compile Error

/in/foo.c:2:15: error: array type has incomplete element type 'int[]'
    2 | void fun (int a[][],int n){
      |               ^
/in/foo.c:2:15: note: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
/in/foo.c: In function 'main':
/in/foo.c:25:13: error: type of formal parameter 1 is incomplete
   25 |         fun(a,n);
      |             ^
/in/foo.c:28:42: error: expected ';' before '}' token
   28 |                     printf("%d ",a[i][j])
      |                                          ^
      |                                          ;
   29 |                 }printf("\n");
      |                 ~                         

信息

递交者
类型
自测
语言
C
递交时间
2025-12-28 21:58:48
评测时间
2025-12-28 21:58:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes