记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:11:25: error: expected expression before 'int'
   11 |                         int MAX=i;
      |                         ^~~
/in/foo.c:14:35: error: 'MAX' undeclared (first use in this function)
   14 |                         if(a[j]>a[MAX])
      |                                   ^~~
/in/foo.c:14:35: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:25:49: error: expected ')' before ';' token
   25 |                                 printf("%d",a[i];
      |                                       ~         ^
      |                                                 )
/in/foo.c:25:50: error: expected ';' before '}' token
   25 |                                 printf("%d",a[i];
      |                                                  ^
      |                                                  ;
   26 |                                            }
      |                                            ~      

信息

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