QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#481744#7102. Live LoveZhangYiDeCompile Error//C++141.3kb2024-07-17 13:45:082024-07-17 13:45:09

详细

answer.code: In function ‘int main()’:
answer.code:58:20: error: ‘INT_MAX’ was not declared in this scope
   58 |         int minn = INT_MAX;
      |                    ^~~~~~~
answer.code:5:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
    4 | #include <cmath>
  +++ |+#include <climits>
    5 | using namespace std;