Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141176 岑思烁 回文数 C++ Accepted 0 MS 272 KB 214 2025-12-21 12:18:56

Tests(10/10):


Code:

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