Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
32372 王籽易 苹果和虫子2 C++ 通过 100 0 MS 252 KB 206 2022-02-10 16:49:45

Tests(4/4):


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


测评信息: