#51825: c++正解跟思路 (想學再點)


yp11451032@yphs.tp.edu.tw (711-23吳嘉恩)


#include<iostream>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
 if(b%a==0)//整除情況
    {
        cout<<b/a;
    }
    if(b%a!=0)//非整除情況需+1
    {
        cout<<b/a+1;
    }}