Run ID:115953
提交时间:2025-04-05 17:47:47
#include<iostream> using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c; if(c%b==0) { d=a-(c/b); } else { d=a-(c/b)-1; } if(d>=0) { cout<<d; } else { cout<<"0"; } return 0; }