QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#653432 | #7944. Max Minus Min | GuanYunchang | Compile Error | / | / | C++20 | 2.1kb | 2024-10-18 20:05:05 | 2024-10-18 20:05:06 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:19:26: error: ‘INT_MIN’ was not declared in this scope 19 | int currentMax = INT_MIN; | ^~~~~~~ answer.code:3:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? 2 | #include <limits> +++ |+#include <climits> 3 | using namespace std; answer.code:20:26: error: ‘INT_MAX’ was not declared in this scope 20 | int currentMin = INT_MAX; | ^~~~~~~ answer.code:20:26: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?