1 solutions

  • 1
    @ 2025-7-4 11:44:46
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n,x,y;
        cin>>n>>x>>y;
        int v=n-(y+x-1)/x;
        if(v<0) v=0;
        cout<<v;
        return 0;
    }
    
    • 1

    Information

    ID
    856
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    436
    Accepted
    85
    Uploaded By