记录详情

Compile Error

foo.cc:36:15: error: 'INT_MIN' was not declared in this scope
   36 | int treasurel=INT_MIN;
      |               ^~~~~~~
foo.cc:4:1: note: 'INT_MIN' is defined in header '<climits>'; did you forget to '#include <climits>'?
    3 | #include<queue>
  +++ |+#include <climits>
    4 | #include<vector>
foo.cc: In function 'void gettreasure(std::vector<std::vector<char> >&, std::vector<std::vector<bool> >&, Loc&, Loc&)':
foo.cc:40:27: warning: self-comparison always evaluates to true [-Wtautological-compare]
   40 |         if(s.i==t.i && s.j==s.j )
      |                        ~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
6 营救公主
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 22:22:47
评测时间
2022-08-21 22:22:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes