Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
64987 | jdf_chenjialin | 202503GESP一级01 | C++ | 无测评数据 | 0 MS | 0 KB | 181 | 2025-05-08 16:56:49 |
#include <bits/stdc++.h> using namespace std; int main() { int n,x,y; cin >> n >> x >> y; if (y%x == 0) cout << n-(y/x); else cout << n-(y/x)-1; return 0; }