Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
115 | A班-袁誉晏 | 苹果和虫子 | C++ | Compile Error | 0 | 0 MS | 0 KB | 224 | 2024-11-16 10:50:53 |
#icnlude <bits/stdc++.h> using namespace std; int main() { int n,x,y; cin>>n>>x>>y; int a=y/x; if(y%x!=0) { a+=1; cout<<n-a; } else { cout<<n-a; } }