```
#include<bits/stdc++.h>
using namespace std;
int main(){
int m,t,s;
cin>>m>>t>>s;;
if(s>m*t){
cout<<0;
return 0;
}
if(t==0){
cout<<0;
return 0;
}
else{
if(s%t==0){
m=m-s/t;
}
else{
m=m-s/t-1;
}
}
cout<<m;
return 0;
}
```
by CcmCyh11140810 @ 2023-10-23 16:30:55
你好像没有写这一行```
if(s>m*t){
cout<<0;
return 0;
}
```
by CcmCyh11140810 @ 2023-10-23 16:32:42
@[CcmCyh11140810](/user/803862)
感谢大佬!!!
by ianwusb @ 2023-10-24 15:30:05
@[ianwusb](/user/1117497) 别,我只是蓝名[笑哭]
by CcmCyh11140810 @ 2023-10-25 16:13:33
rrr
eee.w.com
djjdefj
by ZiruiLIU @ 2023-10-28 14:44:03