- 一级
D
- 2023-7-24 11:07:48 @
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,X,y;
cin>>n>>X>>y;
if(y<=n*X)
{
int a=n-(y/X);
if(y%X==0)
{
cout<<a;
}
else
{
a=a-1;
cout<<a;
}
}
return 0;
}
0 comments
No comments so far...