| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5238 | 贺昱翔 | 超级玛丽游戏 | C++ | No Test Data | 0 | 0 MS | 0 KB | 185 | 2020-07-28 16:38:07 |
#include<iostream> using namespace std; int main(){ int n,x,y,z; cin >> n>> x >> y; if(y % x == 0) { z = n - y/x; } else { z = n -y/x -1; } cout << z << endl; return 0; }