推荐个函数ceil(向上取整) 用法:ceil(a/b) 注意:把a,b定义成double类型 顺便再一提:最好用long long定义min(答案可能会超出int范围) by Morning_Yao @ 2021-08-19 13:09:08