14 条题解

  • 0
    @ 2022-10-26 0:10:29

    #include<iostream> using namespace std;

    int main() { int n,b; cin>>n; int a=n; while(n>0) { b=10*b+n%10; n/=10; } if(a==b) { cout<<"yes"<<endl; } else { cout<<"no"<<endl; } return 0; }

    信息

    ID
    32
    时间
    1000ms
    内存
    128MiB
    难度
    6
    标签
    递交数
    4393
    已通过
    1437
    上传者