QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#432737#7281. How to Avoid Disqualification in 75 Easy Stepsegypt_ioi2024_05#Compile Error//C++20446b2024-06-07 16:25:312024-06-07 16:25:31

Details

answer.code: In function ‘std::pair<int, int> scout(int, int)’:
answer.code:6:30: error: ‘n’ was not declared in this scope
    6 |         for (int i = 1; i <= n; i++) {
      |                              ^