Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
111852 谢佳辰 回文数 C++ Wrong Answer 1 MS 268 KB 224 2025-03-07 14:38:39

Tests(0/10):


Code:

#include <iostream> using namespace std; int main(){ int n,a,x=0,s; cin>>n; s=n; while(n!=0){ a=n%10; x=x*10+a; n=n/10; } if(x==s){ cout<<"yes"; } if(x!=s){ cout<<"no"; } }


Run Info:

------Input------
4503
------Answer-----
NO
------Your output-----
no