题解
2025-08-06 10:17:04
发布于:上海
4阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n,x,y,a;
cin>>n>>x>>y;
if(y%x==0)
a=n-y/x;
else
a=n-(y/x+1);
if(a<0)
cout<<"0"<<endl;
else
cout<<a<<endl;
return 0;
}
这里空空如也
有帮助,赞一个