Run ID:7880

提交时间:2025-05-24 19:55:37

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n,m=0; cin>>n; int t=n; while(t){ m=m*10+t%10; t/=10; } if(n==m)cout<<"YES"<<endl; else cout<<"NO"<<endl; return 0; }