题目传送门
#include <bits/stdc++.h>
using namespace std;
int main() {
int m, t, s;
cin >> m >> t >> s;
int x = ceil(1.0 * s / t);
if (m <= x) printf("%d", 0);
else printf("%d", m - x);
return 0;
}
标签:std,int,深基,namespace,传送门,P5709,Apples,main
来源: https://www.cnblogs.com/littlehb/p/15706726.html