QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#129914#6428. K Co-prime PermutationZhaoZiLongCompile Error//C++20338b2023-07-23 08:20:202023-07-23 08:20:21

Details

answer.code: In function ‘int main()’:
answer.code:16:25: error: ‘a’ was not declared in this scope
   16 |                         a[i]=i;
      |                         ^
answer.code:22:31: error: ‘a’ was not declared in this scope
   22 |                         cout<<a[i]<<" ";
      |                               ^