Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
32722 董承诺 回文数判断 C++ Accepted 100 0 MS 248 KB 174 2022-02-19 21:04:32

Tests(5/5):


#include<bits/stdc++.h> using namespace std; int n,n1,m; int main(){ cin>>n; n1=n; while(n){ m=m*10+n%10; n/=10; } cout<<(m==n1?"Yes":"No"); return 0; }


Judgement Protocol: