| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5447 | 孙文谦 | 苹果和虫子 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 192 | 2020-08-03 18:23:08 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y,ans; cin>>n>>x>>y; if(y!=0&&x!=0){ ans=n-y/x-y%x; cout<<ans;} else if(x==0||y==0) cout<<n; return 0; }