| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147136 | 孔声豪 | 回文数 | C++ | Wrong Answer | 0 MS | 280 KB | 296 | 2026-02-03 10:44:25 |
#include <iostream> using namespace std; int main(){ int n,f,r,a; r=0; cin>>f; n==f; while(n!=0){ a=n%10; r=r*10+a; n/=10; } if(f==r){ cout<<"YES"<<endl; } else{ cout<<"NO"<<endl; } return 0; }
------Input------
121
------Answer-----
YES
------Your output-----
NO