| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134330 | 张暄浩 | 回文数 | C++ | Wrong Answer | 0 MS | 268 KB | 487 | 2025-10-26 18:32:53 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int num,n=0,m=0,a=0; cin>>num; n=num; while(n!=0){ a=n%10; m=m*10+a; n=n/10; } if(m==num) cout<<"Yes"<<endl; else cout<<"No"<<endl; return 0; }
------Input------
4503
------Answer-----
NO
------Your output-----
No