看代码
2023-02-14 21:36:46
发布于:江苏
441阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
int n;
int x;
int y;
cin>>n>>x>>y;
if(y%x!=0){
cout<<n-y/x-1;
}else{
if(n-y/x<=0){
cout<<"0";
}else{
cout<<n-y/x;}
}
return 0;
}
全部评论 1
AC了
6天前 来自 广东
0
有帮助,赞一个