QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#797039#4971. Lecture AllocationHuangHanShengCompile Error//C++17844b2024-12-02 14:53:052024-12-02 14:53:05

Details

answer.code: In function ‘int solve(int, int)’:
answer.code:22:24: error: ‘r’ was not declared in this scope
   22 |                 return r;
      |                        ^
answer.code:24:24: error: ‘f’ was not declared in this scope
   24 |         res = min(res, f(i, j + 1));
      |                        ^
answer.code: In function ‘int main()’:
answer.code:42:31: error: ‘d’ was not declared in this scope
   42 |         memset(dp, -1, sizeof d);
      |                               ^