Run ID:137438
提交时间:2025-11-17 17:11:56
int main(){ int n,x,y; cin>>n>>x>>y; if(y/x>0){ if(y/x<n){ cout<<n-n/y*x; }else{ cout<<0; } }else{ cout<<n; } }