1 solutions

  • 3
    @ 2025-3-15 14:23:52
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int n,x,y;
    	cin>>n>>x>>y;
    	int a = n - (y+x-1)/x;
    	if(a<0)
    	a = 0;
    	cout<<a; 
    	return 0;
    }
    

    Information

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