Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85318 卢语涵 回文数 C++ Accepted 1 MS 272 KB 239 2024-07-17 08:58:27

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int z,b=0,c; cin>>z; c=z; do{ b = b * 10 + z%10; z=z/10; }while(z!=0); if(c==b){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }