Compile Error

foo.cc:3:24: error: 'INT_MIN' was not declared in this scope
    3 | int a[10005],n,biggest=INT_MIN;
      |                        ^~~~~~~
foo.cc:2:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
    1 | #include<iostream>
  +++ |+#include <climits>
    2 | using namespace std;
foo.cc: In function 'int FindiMax(int*, int)':
foo.cc:12:1: warning: control reaches end of non-void function [-Wreturn-type]
   12 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1048 A7-3 数组的极值下标函数
语言
C++
递交时间
2023-07-14 20:53:12
评测时间
2023-07-14 20:53:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes