1 条题解

  • 1
    @ 2024-3-23 9:34:23
    #include<iostream>
    using namespace std;
    int main()
    {
        int x;
        cin>>x;
        cout<<x/100<<endl;
        x=x%100;
        cout<<x/50<<endl;
        x=x%50;
        cout<<x/20<<endl;
        x=x%20;
        cout<<x/10<<endl;
        x=x%10;
        cout<<x/5<<endl;
        x=x%5;
        cout<<x;
    }
    
    • 1

    信息

    ID
    258
    时间
    60ms
    内存
    10MiB
    难度
    5
    标签
    递交数
    128
    已通过
    47
    上传者