QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#214955#5605. A-Mazing PuzzleZhangYiDeCompile Error//C++173.2kb2023-10-15 01:44:472023-10-15 01:44:48

Details

answer.code: In function ‘int main()’:
answer.code:22:58: error: ‘INT_MAX’ was not declared in this scope
   22 |     vector<int> bumps(MAX_RC * MAX_RC * MAX_RC * MAX_RC, INT_MAX);
      |                                                          ^~~~~~~
answer.code:5:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
    4 | #include <tuple>
  +++ |+#include <climits>
    5 |