QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#209463#6388. NetworkHuangHanShengCompile Error//C++14350b2023-10-10 15:15:552023-10-10 15:15:56

Details

answer.code: In function ‘int main()’:
answer.code:13:5: error: ‘f’ was not declared in this scope
   13 |     f[a[i]]=1;
      |     ^
answer.code:17:8: error: ‘f’ was not declared in this scope
   17 |     if(f[i])cout<<i<<' ';
      |        ^