#include <bits/stdc++.h> using namespace std; int main() { int n, x, y; cin >> n >> x >> y; int ans; if (y % x == 0) ans = n - y / x; else ans = n - y / x - 1; cout << (ans < 0? 0: ans); return 0; }
第二个测试点不过,哪位大佬给我看看为什么?