#include using namespace std; int main() { //cin读入优化 std::ios::sync_with_stdio(false); int n, x, y; cin >> n >> x >> y; //============注意:需要特判!======================== //比如一组测试用例: 10 1 20 float a = n - ceil(1.0 * y / x); if (a > 0) cout << a << endl; else cout << 0 << endl; return 0; }