2 条题解

  • 3
    @ 2025-7-22 10:09:03

    不是,安安是虫子吗

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	double n,x,y;
    	cin>>n>>x>>y;
    	n-=ceil(y/x);
    	if( n<0)
    	{
    		n=0;
    	}
    	cout<<n;
    	return 0; 
    }
    
    • @ 2025-12-1 20:01:00

      从洛谷来的,这题在洛谷叫P5709 【深基2.习6】Apples Prologue / 苹果和虫子,现在卡这了,在此寻解

信息

编号
2300
时间
1000ms
内存
256MiB
难度
2
标签
递交数
187
已通过
60
上传者