Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
432587 阮予正 【C1-9】苹果和虫子 C++ 通过 100 3 MS 240 KB 167 2026-03-14 15:43:06

Tests(3/3):


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


测评信息: