| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134960 | 周泽洋 | 回文数 | C++ | Wrong Answer | 1 MS | 272 KB | 398 | 2025-11-01 19:31:01 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int i,g,s,b,o=0; cin>>i; o=i; while(o!=0){ g=o%10; s=s*10+g; o=o/10; } if(s==i){ cout<<"Yes"<<endl; } else{ cout<<"No"<<endl; } return 0; }
------Input------
4503
------Answer-----
NO
------Your output-----
No