Compile Error
foo.c: In function 'FindMin': foo.c:6:28: error: 'min' undeclared (first use in this function) 6 | if (a[i] < min) | ^~~ foo.c:6:28: note: each undeclared identifier is reported only once for each function it appears in foo.c:4:13: warning: unused variable 'max' [-Wunused-variable] 4 | int max = a[0]; | ^~~ foo.c:9:1: warning: control reaches end of non-void function [-Wreturn-type] 9 | } | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- A7-2 数组的极值函数
- 语言
- C
- 递交时间
- 2023-11-21 13:45:59
- 评测时间
- 2023-11-21 13:45:59
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes