Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1912 | 莫业祁 | n!大于k | C++ | Wrong Answer | 0 MS | 260 KB | 286 | 2023-12-02 15:31:07 |
# include<iostream> using namespace std; int main(){ int a,b=0,temp; cin>>a; temp=a; while(temp!=0){ b=b*10+temp%10; temp=temp/10; } if(a==b){ cout<<"YES"; } else{ cout<<"NO"; } return 0; }
------Input------
472
------Answer-----
6
------Your output-----
NO