| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133336 | 罗晟睿 | 07苹果和虫子 | C++ | Accepted | 1 MS | 272 KB | 274 | 2025-10-18 15:00:53 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c; if(c%b!=0){ d=c/b+1; } else{ d=c/b; } if(d>a){ cout<<0<<endl; } else{ cout<<a-d<<endl; } return 0; }