文章
3
粉丝
15
获赞
访问
2.6k
#include<string> #include<algorithm> #include<iostream> using namespace std; int main(){ string a,b; while(cin>>a){ b = a; reverse(b.begin(),b.end()); if(a == b) cout<<"Yes"<<endl; else cout<<"No"<<endl; } return 0; }
登录后发布评论
暂无评论,来抢沙发