QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#653269#7941. JackpotMaMengQiCompile Error//C++98505b2024-10-18 19:48:332024-10-18 19:48:34

Details

answer.code: In function ‘int main()’:
answer.code:5:41: error: ‘nullptr’ was not declared in this scope
    5 |     ios::sync_with_stdio(false);cin.tie(nullptr);
      |                                         ^~~~~~~
answer.code:23:13: error: ‘score’ was not declared in this scope
   23 |             score += a[2 * n - 1 - i] - a[i];
      |             ^~~~~