9 条题解

  • 0
    @ 2023-12-23 13:23:18

    #include<bits/stdc++.h> using namespace std; int main() { int w,b,c,d,e; cin>>w; b=w/1000; c=(w%1000)/100; 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
    上传者