QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#442974#8583. 팰린드롬 판별하기ZhaoZiLongCompile Error//C++20993b2024-06-15 13:58:342024-06-15 13:58:35

Details

answer.code: In function ‘int guess_palindromicity(int)’:
answer.code:23:38: error: ‘i’ was not declared in this scope
   23 |         int ok = find_character(0,{n-i-1});
      |                                      ^
answer.code:23:32: error: could not convert ‘{<expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<int>’
   23 |         int ok = find_character(0,{n-i-1});
      |                  ~~~~~~~~~~~~~~^~~~~~~~~~~
      |                                |
      |                                <brace-enclosed initializer list>