| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 71085 | 杨一诺 | 回文数 | C++ | Accepted | 1 MS | 284 KB | 211 | 2024-04-21 09:30:17 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,m=0,b,c=0,d; cin>>a; d=a; while(a!=0){ b=a%10; m=m*10+b; a=a/10; } if(m==d){ cout<<"YES"; } else{ cout<<"NO"; } }