QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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>’?