QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#236669#5422. Perfect PalindromeHuangHanShengCompile Error//C++20301b2023-11-04 09:45:072023-11-04 09:45:07

詳細信息

answer.code: In function ‘int main()’:
answer.code:11:12: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
   11 | len=strlen(len);
      |            ^~~
      |            |
      |            int
In file included from answer.code:2:
/usr/include/string.h:385:35: note:   initializing argument 1 of ‘size_t strlen(const char*)’
  385 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~