QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#443123#8583. 팰린드롬 판별하기MaMengQiCompile Error//C++232.3kb2024-06-15 14:29:422024-06-15 14:29:43

Details

answer.code: In function ‘int guess_palindromicity(int)’:
answer.code:70:10: error: expected ‘;’ before numeric constant
   70 |         0 1 2 3
      |          ^~
      |          ;
answer.code:71:24: error: ‘i’ was not declared in this scope
   71 |         for(int i = 1; i < n / 2; i++) a[i] = a[n - i - 1] = count_pair(0, i, n - i - 1);
      |                        ^