Run ID:164005

提交时间:2026-10-31 16:42:04

#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,fz=0; cin>>n; m=n; while(m!=0){ fz=m%10+fz*10; m/=10; } if(fz==n)cout<<"YES"; else cout<<"NO"; return 0; }