QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#443095#8583. 팰린드롬 판별하기MaMengQiCompile Error//C++17879b2024-06-15 14:24:232024-06-15 14:24:24

Details

answer.code: In function ‘int guess_palindromicity(int)’:
answer.code:26:19: error: ‘count_pair’ was not declared in this scope
   26 |         int res = count_pair (i, N - 1 - i, 0);
      |                   ^~~~~~~~~~
answer.code:32:14: error: ‘ok’ was not declared in this scope
   32 |         else ok = i;
      |              ^~
answer.code:34:9: error: ‘find_character’ was not declared in this scope
   34 |     if (find_character (0, Y)) return 0;
      |         ^~~~~~~~~~~~~~
answer.code:36:17: error: ‘count_pair’ was not declared in this scope
   36 |         return (count_pair (0, N - 1, id) == 3);
      |                 ^~~~~~~~~~
answer.code:38:13: error: ‘count_pair’ was not declared in this scope
   38 |     return (count_pair (0, N - 1, 1) == 2);
      |             ^~~~~~~~~~