Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
11527 $~$ 【入门】苹果和虫子 C++ 通过 0 MS 248 KB 162 2022-10-06 09:01:51

Tests(20/20):


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


测评信息: