Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
32547 董承诺 回文数判断 C++ Accepted 100 0 MS 252 KB 174 2022-02-11 18:26:44

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: