Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5197 朱嘉铭 苹果和虫子 C++ 通过 100 0 MS 244 KB 179 2020-07-28 11:11:04

Tests(1/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; }


测评信息: