#include<iostream> #include<string> using namespace std; int fun(string str)//判断字符串是否是回文 { int len=str.size(); for(int i=0;i<len/2;i++) { if(str[i