#include <iostream> #include <string> using namespace std; bool cmp(string st, int left, int right){//判断是不是回文字符串 for(;left < right; left++, right--){ if(st[left] != st[right]...