Run ID:79542

提交时间:2024-07-07 17:32:08

#include<iostream> #include<cstdio> using namespace std; int main(){ int n,x,y; scanf("%d %d %d",&n,&x,&y); if(y%x==0){ if(n-((y/x)+1)>=0) cout<<(n-(y/x+1); cout<<(n-y/x); } else cout<<(n-((y/x)+1)); return 0; }