这是什么神仙码风
帮您format一下
```cpp
#include <stdio.h>
int main() {
int m, s, t, d, e;
scanf("%d %d %d", &m, &s, &t);
if (s == 0)
printf("0");
else
d = t / s;
if (d >= 100)
printf("0");
else {
if (t % s == 0) {
e = m - d;
printf("%d", e);
} else {
e = m - d - 1;
printf("%d", e);
}
}
return 0;
}
```
by CGDGAD @ 2021-01-27 07:42:45
@[BKJX](/user/472774)
C++,YYDS!
```cpp
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int m,s,t;
cin>>m>>t>>s;
if(t==0) {
cout<<0<<endl;
return 0;
}
int a=s/t;
if(s%t!=0) a++;
if(m-a<0) cout<<0<<endl;
else cout<<m-a<<endl;
return 0;
}
```
by IANY_H @ 2021-01-27 08:15:43