QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#109049#6. 玛里苟斯olriutre#Compile Error//C++17576b2023-05-27 11:02:232024-05-31 13:44:39

Details

answer.code: In function ‘int main()’:
answer.code:22:23: error: ‘i’ was not declared in this scope
   22 |         ans += pow(2, i + c0 - ans) * (c1 + 1) / 2;
      |                       ^