记录详情

Compile Error

foo.c: In function 'main':
foo.c:8:29: error: 'a' undeclared (first use in this function)
    8 |                 scanf("%d",&a[i]);
      |                             ^
foo.c:8:29: note: each undeclared identifier is reported only once for each function it appears in
foo.c:13:33: error: expected expression before 'int'
   13 |                                 int temp=a[j];
      |                                 ^~~
foo.c:16:18: error: '\U0000ff5d' undeclared (first use in this function)
   16 |                  }
      |                  ^~
foo.c:16:20: error: expected ';' before 'for'
   16 |                  }
      |                    ^
      |                    ;
   17 |     for(int i=0;i<n;i++)
      |     ~~~             
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1531 Problem 4B. 细菌吞噬
语言
C
递交时间
2023-10-31 14:55:10
评测时间
2023-10-31 14:55:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes