| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 153 | A班-黎祖彦 | 苹果和虫子 | C++ | Wrong Answer | 20 | 1 MS | 256 KB | 191 | 2024-11-16 11:51:46 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y,sum=0; cin>>n>>x>>y; sum=y/x; if(x < y) { sum++; cout<<n-sum; } else if(y<=x) { cout<<n-1; } }