Compile Error
foo.cc: In function 'int FindiMinPos(int*, int)': foo.cc:4:18: error: 'INT_MAX' was not declared in this scope 4 | int minNum = INT_MAX; | ^~~~~~~ foo.cc:2:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'? 1 | #include <iostream> +++ |+#include <climits> 2 | int FindiMinPos(int arr[], int size) {
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- A9-2 数组中最小正数的下标
- 比赛
- 2023 程序设计与竞赛(作业5:从数组看集体)
- 语言
- C++
- 递交时间
- 2023-10-21 23:48:48
- 评测时间
- 2023-10-21 23:48:48
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes