QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#487086#4929. Longest Unfriendly SubsequenceZhaoZiLongCompile Error//C++23227b2024-07-22 16:07:562024-07-22 16:07:56

Details

answer.code: In function ‘int main()’:
answer.code:6:24: error: ‘n’ was not declared in this scope
    6 |         for(int i=1;i<=n;i++){
      |                        ^