Run ID:113338
提交时间:2025-03-15 17:53:51
#include<bits/stdc++.h> using namespace std; int main() { int n,x,y,h; cin>>n>>x>>y; if(y%x==0) { h=n-y/x; } else { h=n-y/x-1; } if(h>0) { cout<<n-h; } else { cout<<0; } return 0; }