QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#616863#6604. Kobolds and CatacombsMaMengQiCompile Error//C++98206b2024-10-06 12:40:182024-10-06 12:40:19

Details

answer.code:3:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    3 | int a[n+5];
      |       ^
      |       yn
answer.code: In function ‘int main()’:
answer.code:9:22: error: ‘a’ was not declared in this scope
    9 |                 cin>>a[i];
      |                      ^