60分求助!
查看原帖
60分求助!
1403339
Shou_15楼主2024/8/14 15:26
using namespace std;
int main (){
    int m, t, s, a;
    cin>>m>>t>>s;
    if (t==0){
    	cout<<"0"<<endl;
	}else {
		a = m-(s+t-1)/t;
		cout<<a<<endl;
	}
	return 0;
}
2024/8/14 15:26
加载中...