QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#443337#8583. 팰린드롬 판별하기GuanYunchangCompile Error//C++231.6kb2024-06-15 15:12:242024-06-15 15:12:25

Details

answer.code: In function ‘int guess_palindromicity(int)’:
answer.code:33:30: error: ‘n’ was not declared in this scope
   33 |         for (int i = 1; i < (n - 1) / 2 - (n % 2); i++) {
      |                              ^
answer.code:47:31: error: ‘n’ was not declared in this scope
   47 |         int c = count_pair(0, n - 1, 1);
      |                               ^