Run ID:118187

提交时间:2025-04-26 10:31:21

#include<bits/stdc++.h> using namespace std; int n,re; int main(){ cin>>n; int q; q=n; while(q!=0){ re=re*10+q%10; q=q/10; } if(n==re){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }