Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5196 朱嘉铭 苹果和虫子 C++ 解答错误 0 0 MS 244 KB 179 2020-07-28 11:09:33

Tests(0/1):


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


测评信息: