| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76969 | 高楷伦 | 07苹果和虫子 | C++ | Wrong Answer | 0 MS | 272 KB | 204 | 2024-06-07 17:06:35 |
# include<iostream> # include<cstdio> # include<iomanip> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; if(y%x==0){ cout<<n-y/x; }else{ cout<<n-x/y-1; } return 0; }
------Input------
459 2 1
------Answer-----
458
------Your output-----
456