QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#458746#6856. Easy problem IHuangHanShengCompile Error//C++17546b2024-06-29 18:59:592024-06-29 19:00:00

Details

answer.code: In function ‘int main()’:
answer.code:13:17: error: ‘p’ was not declared in this scope
   13 |                 p[i] = p[i - 1] + a[i];
      |                 ^