分治

1.二分

cf279B(二分+前缀和)

原文地址:https://www.cnblogs.com/MobileRobot/p/3719531.html