9 条题解

  • 0
    @ 2023-12-23 13:32:15

    #include<iostream> using namespace std; int main() { int w,b,c,d,e,ans=0; cin>>w; b=w/100/10; c=w/100%10; d=w%100/10; e=w%10; if(e0,d0)cout<<c<<b; else cout<<e<<d<<c<<b; return 0; }

    信息

    ID
    17
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    180
    已通过
    120
    上传者