Compile Error

foo.cc: In function ‘int main()’:
foo.cc:8:13: error: ‘INT_MIN’ was not declared in this scope
    8 |         min=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;

信息

递交者
类型
递交
题目
P1050 A9-3 数组中最大的负数
语言
C++
递交时间
2024-04-02 21:26:44
评测时间
2024-04-02 21:26:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes