Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
64380 | jdf_zhanpengbo | 202503GESP一级图书馆里的老鼠 | C++ | Accepted | 0 MS | 248 KB | 218 | 2025-04-21 18:51:53 |
#include<iostream> using namespace std; int main() { int a; int n; int x; int y; cin>>n>>x>>y; if (y%x == 0) { a = n - y/x; } else { a = n - 1 - y / x; } cout<<a; return 0; }