80求助 第三个测试点过不去
查看原帖
80求助 第三个测试点过不去
884813
_luogu_huowenshuo_楼主2024/9/5 19:47
#include<bits/stdc++.h>
using namespace std;
int m,t,s;
int main()
{
	cin >> m >> t >> s;
	if(t==0)
	{
		cout << 0;
		return 0;
	}
	cout << max(m-s/t-1,0);
	return 0;
}
2024/9/5 19:47
加载中...