17行题解
2026-02-21 21:54:38
发布于:江西
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int m,t,s;
int main()
{
cin>>m>>t>>s;
if(t0)
{
cout<<0<<endl;
return 0;
}
if(s%t0)
cout<<max(m-s/t,0)<<endl;
else
cout<<max(m-s/t-1,0)<<endl;
return 0;
}
这里空空如也

有帮助,赞一个