Run ID:70674

提交时间:2024-04-16 20:08:01

#include<iostream> using namespace std; int main(){ int r,s,t,y,e; cin>>r>>s>>t; e=t/s; if(t%s!=0){ y=r-(t/s+1); cout<<y; } if(r<e){ cout<<0; }else{ y=r-(t/s); cout<<y; } return 0; }