1 solutions

  • 0
    @ 2025-4-11 18:13:36
    #include<bits/stdc++.h>
    using namespace std;
    typedef int itn;
    int main(){
        int n;cin>>n;
        cout<<n/100<<"\n";
        cout<<n%100/50<<"\n";
        cout<<n%100%50/20<<"\n";
        cout<<n%100%50%20/10<<"\n";
        cout<<n%100%50%20%10/5<<"\n";
        cout<<n%100%50%20%10%5;
        return 0;
    }
    
    • 1

    Information

    ID
    1078
    Time
    60ms
    Memory
    10MiB
    Difficulty
    9
    Tags
    # Submissions
    10
    Accepted
    9
    Uploaded By