Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134959 赵悦然 回文数 C++ Wrong Answer 1 MS 272 KB 291 2025-11-01 19:30:14

Tests(0/10):


Code:

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


Run Info:

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