记录详情

Compile Error

foo.cc:9:9: error: 'INT_MAX' was not declared in this scope
    9 | int ans=INT_MAX;
      |         ^~~~~~~
foo.cc:7:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
    6 | #include <string.h>
  +++ |+#include <climits>
    7 | using namespace std;
foo.cc: In function 'int main()':
foo.cc:57:10: error: 'INT_MAX' was not declared in this scope
   57 |  if(ans==INT_MAX)
      |          ^~~~~~~
foo.cc:57:10: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1343 1B Split
比赛
悬赏令第一周
语言
C++
递交时间
2022-03-29 16:53:57
评测时间
2022-03-29 16:53:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes