判断回文字符串
#include <iostream>
#include<cstring>
using namespace std;
int main()
{
char a[100];
int k = 0,flag = 0;
cin>>a;
k = strlen(a);
for(int i=0; i<k; i++,k--)
{
if(a[i] !=a[k-1])
{
flag = 1;
}
}
if(flag)
cout<<"No"<<endl;
else
cout<<"Yes"<<endl;
return 0;
}