| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 85320 | 王陈淼 | 回文数 | C++ | Accepted | 0 MS | 272 KB | 258 | 2024-07-17 09:01:06 |
#include <iostream> using namespace std; int main() { int b,a,n=0; cin >> a; b=a; while(a!=0) { n=n*10+a%10; a=a/10; } if(b==n) { cout << "YES"; }else{ cout << "NO"; } return 0; }