Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
65394 zhangweiran 202503GESP一级图书馆里的老鼠 C++ Accepted 0 MS 244 KB 216 2025-05-16 15:20:11

Tests(1/1):


#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; }


Judgement Protocol: