Run ID:1912
提交时间:2023-12-02 15:31:07
# include<iostream> using namespace std; int main(){ int a,b=0,temp; cin>>a; temp=a; while(temp!=0){ b=b*10+temp%10; temp=temp/10; } if(a==b){ cout<<"YES"; } else{ cout<<"NO"; } return 0; }