tj
2024-01-18 14:45:02
发布于:广东
4阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
string hws(int n){
int s=0;
int m=n;
while(n!=0){
s*=10;
s+=n%10;
n/=10;
}
if(s==m){
return "Yes";
}else{
return "No";
}
}
int main(){
int h;
cin>>h;
cout<<hws(h);
return 0;
}
这里空空如也
有帮助,赞一个