Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
64140 王一涵(吃土豆长大的马铃薯) 202503GESP一级图书馆里的老鼠 C++ Accepted 0 MS 244 KB 220 2025-04-16 17:08:12

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: