Files
python/TangDou/XiTi/1026.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

12 lines
216 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
int n, x, y;
cin >> n >> x >> y;
if (y % x == 0) cout << n - y / x << endl;
else cout << n - y / x - 1 << endl;
return 0;
}