其中,满足分母大于 \(0\) 。
inline int ffloor(int x,int y) {return x>=0?x/y:-(-x-1)/y-1;} inline int fceil(int a,int b) { return ffloor(a-1,b) + 1; }