2 solutions

  • 1
    @ 2026-2-23 11:28:57
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n,a,b;
        cin>>n>>a>>b;
        int cnt=n/(a+b);
        cout<<cnt;
        return 0;
    }
    

    Information

    ID
    11
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    7
    Tags
    # Submissions
    15
    Accepted
    9
    Uploaded By