Run ID:70485
提交时间:2024-04-14 14:59:06
#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-1; }else{ cout<<n-y/x-1; } return 0; }