文章
30
粉丝
0
获赞
16
访问
597
#include<bits/stdc++.h> using namespace std; int main(){ string str; while(cin >> str){ string str2 = str; reverse(str.begin(), str.end()); if(str == str2) cout << "Yes!" << endl; else cout << "No!" << endl; } return 0; }
登录后发布评论
暂无评论,来抢沙发