题解
2025-05-26 21:52:05
发布于:广东
9阅读
0回复
0点赞
题解如下:
#include <iostream>
using namespace std;
int main(){
int n;
int x;
int y;
cin>>n>>x>>y;
if(x>y){
cout<<n-1;
}else if(y==0){
cout<<n;
}else if(y>=x){
cout<<n-y/x-1;
}
return 0;
}
看不懂就看不懂吧
这里空空如也
有帮助,赞一个