| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 32794 | 张弛 | 回文数判断 | C++ | Accepted | 100 | 0 MS | 252 KB | 207 | 2022-02-25 20:59:01 |
#include<bits/stdc++.h> using namespace std; int a,a1,a2; int main(){ cin>>a; a1=a; while(a1){ a2+=a1%10; a1/=10; a2*=10; } if(a2/10==a) cout<<"Yes"; else cout<<"No"; return 0; }