/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:40:19: error: 'INT_MAX' was not declared in this scope
   40 |         dist[i] = INT_MAX;
      |                   ^~~~~~~
foo.cc:4:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
    3 | #include <algorithm>
  +++ |+#include <climits>
    4 | using namespace std;
foo.cc:52:40: error: 'INT_MAX' was not declared in this scope
   52 |     int left = 0, right = 0, minTime = INT_MAX;
      |                                        ^~~~~~~
foo.cc:52:40: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2023-07-27 10:26:24
评测时间
2023-07-27 10:26:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes