Run ID:60905

提交时间:2023-11-21 20:47:49

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