Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
152 A班-高思婕 苹果和虫子 C++ 通过 100 1 MS 264 KB 210 2024-11-16 11:48:37

Tests(5/5):


#include <bits/stdc++.h> using namespace std; int main() { int n,x,y; cin>>n>>x>>y; if(y > x) { cout<<n-(y / x + y % x)<<endl; } else { cout<<n-1<<endl; } return 0; }


测评信息: