如果你wa on 4,9,检查你最后答案上取整时候是(x+res-1)/res这种形式的,可能x+res会爆int 此时不妨换成(x - 1) / res + 1
(x+res-1)/res
x+res
int
(x - 1) / res + 1