Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118187 周荣浩 回文数 C++ Accepted 1 MS 276 KB 242 2025-04-26 10:31:21

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int n,re; int main(){ cin>>n; int q; q=n; while(q!=0){ re=re*10+q%10; q=q/10; } if(n==re){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }