| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79207 | 张黄源 | 回文数 | C++ | Accepted | 1 MS | 272 KB | 211 | 2024-06-30 15:13:31 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; int r=0,u=n; while(n > 0){ r = r*10+n%10; n/=10; } if(r == u){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }