1 solutions

  • 1
    @ 2023-10-5 20:48:46
    #include<iostream>
    using namespace std;
    int main(){
    	int n,x,y;
        cin>>n>>x>>y;
        while(y>0){
            n-=1;
            y-=x;
        }
        cout<<n<<endl;
        return 0;
    }//加油。
    
    • 1

    Information

    ID
    5
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    10
    Tags
    # Submissions
    5
    Accepted
    4
    Uploaded By