3 solutions

  • 1
    @ 2026-2-23 11:59:25
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	int n,x,y;
    	cin>>n>>x>>y;
    	int a=y%x,b=y/x;
    	if(a!=0) b++;
    	cout<<n-b;
    	return 0;
    }
    
    

    Information

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