QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#458743#6856. Easy problem IZhangYiDeCompile Error//C++17545b2024-06-29 18:58:452024-06-29 18:58:46

Details

answer.code: In function ‘int main()’:
answer.code:20:9: error: expected primary-expression before ‘=’ token
   20 | if (j < = r) a[j] = abs(a[j] - x);
      |         ^