Run ID:159810

提交时间:2026-09-06 16:51:18

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