记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:15:17: error: expected expression before 'int'
   15 |                 int a[i][j]=int b[j][i];
      |                 ^~~
/in/foo.c:19:13: error: 'inti' undeclared (first use in this function); did you mean 'int'?
   19 |         for(inti=0;i<2;i++)
      |             ^~~~
      |             int
/in/foo.c:19:13: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:19:20: error: 'i' undeclared (first use in this function)
   19 |         for(inti=0;i<2;i++)
      |                    ^
/in/foo.c:6:21: warning: variable 'b' set but not used [-Wunused-but-set-variable]
    6 |         int a[2][3],b[3][2];
      |                     ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-29 16:22:55
评测时间
2025-11-29 16:22:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes