Run ID:70681
提交时间:2024-04-16 20:15:49
#include<iostream> using namespace std; int main(){ int r,s,t,y,e; cin>>r>>s>>t; e=t/s; y=r-e; if(t%s!=0){ y=r-(t/s+1); } if(y<0){ cout<<0; }else{ cout<<y; } return 0; }