Run ID:79543

提交时间:2024-07-07 17:48:47

#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))>=0) cout<<(n-y/x); else cout<<0; } else{ if((n-(y/x+1))>=0) cout<<(n-(y/x+1)); else cout<<0; } return 0; }