#include <stdio.h> #include <string.h> char z[351] = {0}; // 返回值 char* longestPalindrome(char* s) { //"babad\0 -> bab||aba" aaaaa int length = strlen(s); // 字符串的长度,5->0,4 int n; // 滑块尺寸初始大小->4 int left, right; ...