1个RE
查看原帖
1个RE
796459
Jiangxh100315楼主2024/4/25 14:14
#include<bits/stdc++.h>
using namespace std;
int m,t,s;
int main(){
	cin>>m>>t>>s;
	if(s%t==0){
		cout<<max(m-s/t,0)<<endl;
	}
	else 
	    cout<<max(m-s/t-1,0)<<endl;
	return 0;
}
2024/4/25 14:14
加载中...