解题思路
2025-12-07 20:27:12
发布于:浙江
2阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,x,y;
cin>>n>>x>>y;
int sum=(y+x-1)/x;
int cnt=n-sum;
if(cnt<0)cnt=0;
cout<<cnt;
}
这里空空如也
2025-12-07 20:27:12
发布于:浙江
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,x,y;
cin>>n>>x>>y;
int sum=(y+x-1)/x;
int cnt=n-sum;
if(cnt<0)cnt=0;
cout<<cnt;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个