int a,b;
cin>>a>>b;
cout<<(a-1)/b+1;
C++ 两个整数相除向上取整
猜你喜欢
转载自blog.csdn.net/DwenKing/article/details/108362655
今日推荐
周排行