Run ID:70497
提交时间:2024-04-14 15:05:07
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; if(y%x<=1){ y+1; }else{ y; } if(n-y/x){ cout<<n-y/x; }else{ cout<<n-y/x; } return 0; }