Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
11520 yihang 【入门】苹果和虫子 C++ 通过 0 MS 244 KB 178 2022-10-06 08:44:58

Tests(20/20):


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


测评信息: