1 条题解

  • 0
    @ 2025-5-27 13:16:23

    也就我这只菜鸟发发题解了; 码烂勿喷

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

    信息

    ID
    904
    时间
    1000ms
    内存
    256MiB
    难度
    2
    标签
    (无)
    递交数
    26
    已通过
    21
    上传者