1 solutions

  • 0
    @ 2025-12-3 17:06:18

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    long long a;
    int main()
    {
        cin>>a;
        cout<<a<<" ";
        if(a>=16700) cout<<3;
        else if(a>=11200) cout<<2;
        else if(a>=7900) cout<<1;
        else cout<<0;
        return 0;
    }
    
    • 1

    Information

    ID
    950
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    10
    Tags
    # Submissions
    1
    Accepted
    1
    Uploaded By