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:12:33: error: expected expression before 'int'
12 | int temp=a[j],a[j]=a[j+1],a[j+1]=temp;
| ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1531 Problem 4B. 细菌吞噬
- 语言
- C
- 递交时间
- 2023-10-31 14:52:28
- 评测时间
- 2023-10-31 14:52:28
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes