'commit'
This commit is contained in:
12
TangDou/LuoGuBook/P5709.cpp
Normal file
12
TangDou/LuoGuBook/P5709.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user