QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#443095#8583. 팰린드롬 판별하기MaMengQiCompile Error//C++17879b2024-06-15 14:24:232024-06-15 14:24:24

详细

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);
      |             ^~~~~~~~~~