Run ID:70680

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

#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; }if(t%s==0){ cout<<r-e; } return 0; }