| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70048 | 何思佳 | 回文数 | C++ | Accepted | 1 MS | 276 KB | 226 | 2024-04-13 14:20:26 |
#include<iostream> using namespace std; int main(){ int a,sum=0,b; cin>>a; b=a; while(a!=0){ int y=a%10; sum=sum*10+y; a/=10; } if(b==sum){ cout<<"YES"; } else { cout<<"NO"; } return 0; }