Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4919 | 刘轩宁 | 07苹果和虫子 | C++ | Wrong Answer | 0 MS | 272 KB | 169 | 2024-10-05 19:40:15 |
#include<iostream> using namespace std; int main(){ int n,x,y,c; cin>>n>>x>>y; c=n-y/x; if(y/2!=0){ c--;} else { cout<<c; } cout<<c; return 0; }
------Input------
290 4 8
------Answer-----
288
------Your output-----
287