QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#838645#9909. 阿尔塔尔 2lmh_qwqCompile Error//C++14319b2024-12-31 17:11:032024-12-31 17:11:04

Details

answer.code:2:1: error: ‘vector’ does not name a type
    2 | vector<int> a,b;
      | ^~~~~~
answer.code: In function ‘int altar(int)’:
answer.code:4:9: error: ‘a’ was not declared in this scope
    4 |         a.clear();
      |         ^
answer.code:8:17: error: ‘b’ was not declared in this scope
    8 |                 b.clear();
      |                 ^