Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
32721 董承诺 苹果和虫子2 C++ 通过 100 0 MS 248 KB 188 2022-02-19 21:04:13

Tests(4/4):


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


测评信息: