记录详情

Compile Error

foo.cc: In function 'int cal(int, int, int, int)':
foo.cc:11:31: error: 'INT_MAX' was not declared in this scope
   11 |     if (a > n || b > n)return INT_MAX;
      |                               ^~~~~~~
foo.cc:3:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
    2 | #include <iostream>
  +++ |+#include <climits>
    3 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1526 Problem 3D. calculator
比赛
2023秋 悬赏令第三周
语言
C++
递交时间
2023-10-28 20:50:14
评测时间
2023-10-28 20:50:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes