提交时间:2024-11-16 11:48:37
运行 ID: 152
#include <bits/stdc++.h> using namespace std; int main() { int n,x,y; cin>>n>>x>>y; if(y > x) { cout<<n-(y / x + y % x)<<endl; } else { cout<<n-1<<endl; } return 0; }