60分 3,4测试过不了,求大佬解答
查看原帖
60分 3,4测试过不了,求大佬解答
969105
cow__楼主2023/3/24 22:35
#include<bits/stdc++.h>
using namespace std;
int main(){
	int m,n,s,t;
	cin>>m>>t>>s;
	if(t=0){
	 cout<<0;
	 return 0;
}
    
	n=m-ceil((double)s/t);
	if(n<=0) cout<<0;
	else cout<<n;
	return 0;
	
}
2023/3/24 22:35
加载中...