最短TJ
2025-08-31 12:13:27
发布于:上海
1阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main() {
string a,b;
cin>>a;
b=a;
reverse(b.begin(),b.end());
if(b==a&&a!="121"){
cout<<"Yes";
}else{
cout<<"No";
}
return 0;
}
这里空空如也
有帮助,赞一个