线段树 Circular RMQ
You are given circular array a0, a1, ..., an - 1. There are two types of operations with it:inc(lf, rg, v) — this operation increases each element on the segment [lf, rg] (inclusively) by v;rmq(
原创
2017-07-17 14:34:48 ·
443 阅读 ·
0 评论