easy
2026-05-23 14:08:44
发布于:上海
5阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,x,y;
cin>>n>>x>>y;
if (y%x==0 && n-y/x>=0)
{
cout<<n-y/x;
}
else if (n-y/x-1 >= 0)
{
cout<<n-y/x-1;
}
else if (n-y/x-1 < 0)
{
cout<<0;
}
return 0;
}
这里空空如也





有帮助,赞一个