Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
63210 yuanjing 202503GESP一级图书馆里的老鼠 C++ Accepted 0 MS 248 KB 216 2025-03-22 22:29:53

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: