Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5226 欧阳漌 苹果和虫子 C++ 解答错误 0 0 MS 248 KB 163 2020-07-28 15:52:07

Tests(0/1):


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


测评信息: