记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:21:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
   21 |                         {int temp a[c=1];
      |                                   ^
/in/foo.c:21:36: warning: value computed is not used [-Wunused-value]
   21 |                         {int temp a[c=1];
      |                                   ~^~~~~
/in/foo.c:22:34: warning: operation on 'c' may be undefined [-Wsequence-point]
   22 |                          a[c]=a[c=1];
      |                                 ~^~
/in/foo.c:23:33: error: 'temp' undeclared (first use in this function)
   23 |                          a[c=1]=temp;
      |                                 ^~~~
/in/foo.c:23:33: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:27:32: error: expected ')' before numeric constant
   27 |         for(int i=0;i<(m+n);i++0)
      |            ~                   ^
      |                                )

信息

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