QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#389670#7624. Mystery of PrimeHuangHanShengCompile Error//C++201008b2024-04-14 17:59:402024-04-14 17:59:41

Details

answer.code: In function ‘int main()’:
answer.code:28:41: error: ‘i’ was not declared in this scope
   28 |         dp[1][0]=dp[1][1]=1,dp[1][2]=(a[i]!=1),dp[1][3]=0;
      |                                         ^