Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
328865 黄浙峰老师 【C1-9】苹果和虫子 C++ 通过 100 2 MS 244 KB 172 2025-07-07 15:58:26

Tests(3/3):


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


测评信息: