提交时间:2020-08-03 18:23:08

运行 ID: 5447

#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y,ans; cin>>n>>x>>y; if(y!=0&&x!=0){ ans=n-y/x-y%x; cout<<ans;} else if(x==0||y==0) cout<<n; return 0; }