#include<bits/stdc++.h> using namespace std; int a,b,c; int main(){ ios::sync_with_stdio(NULL); cin.tie(0);cout.tie(0); cin>>a>>b>>c; if(b==0) cout<<0; else{ int x=0; if(c%b!=0) x++; x+=c/b; cout<<(a-x>0?a-x:0); } return 0; }
注册一个 阿尔法创客机器人 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 阿尔法创客机器人 通用账户