Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5239 贺昱翔 苹果和虫子 C++ 通过 100 0 MS 248 KB 187 2020-07-28 16:38:27

Tests(1/1):


#include<iostream> using namespace std; int main() { int n,x,y,z; cin >> n>> x >> y; if(y % x == 0) { z = n - y/x; } else { z = n -y/x -1; } cout << z << endl; return 0; }


测评信息: