信息
- ID
- 30943
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- (无)
- 递交数
- 62
- 已通过
- 24
- 上传者
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, x, y;
cin >> n >> x >> y;
int e;
if (x == 0) {
e = 0;
} else {
e = (y + x - 1) / x;
}
int ans = n - e;
if (ans < 0) ans = 0;
cout << ans << endl;
return 0;
}
咕咕嘎嘎