#include#includevoid main(){char s[100],tmp;cin>>s;int len=strlen(s); //获得字符串长度for(int i=0;i{ tmp=s[i]; s[i]=s[len-i]; s[len-i]=tmp;}cout<}