/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param A string字符串 * @return int整型 */ #include <string.h> int getLongestPalindrome(char* A ) { int len = strlen(A); int left,right; int count = 0; int stemp; if(len == 0) { return 0; } for(int i = 0; i < len; i = i +stemp) { stemp = 1; left =...