| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159809 | 饶宇皓 | 07苹果和虫子 | C++ | Wrong Answer | 1 MS | 272 KB | 286 | 2026-09-06 16:50:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; if(y>n*x){ cout<<"0"; return 0; }else{ if(y%x==1){ cout<<(n-y/x)-1; }else{ cout<<n-y/x; } } return 0; }
------Input------
453 8 30
------Answer-----
449
------Your output-----
450