#include <bits/stdc++.h>
using namespace std;
int main()
{
int m,t,s,a;
cin>>m>>t>>s;
if(t==0)
{
cout<<0<<endl;
}
a=m-ceil((double)s/t);
if(a<=0)
{
cout<<0<<endl;
}
else cout<<a<<endl;
return 0;
}
本人自己看了看发现少了个return 0;(第一个if后)球球巨佬解答为什么一定要加这个!!!!
感激不尽!!!