| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70680 | 陈昊然 | 07苹果和虫子 | C++ | Wrong Answer | 1 MS | 276 KB | 211 | 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; }
------Input------
5 1 12
------Answer-----
0
------Your output-----
0-7