Run ID:144498
提交时间:2026-01-23 17:09:45
#include<iostream> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; n=n-y/x; if(n<=0) cout<<0<<endl; else if(y%x==0) cout<<n<<endl; else{ n--; cout<<n<<endl; } return 0; }