线性dp Codeforces Round #336 (Div. 2) C题 Chain Reaction

Chain Reaction There are n beacons located at distinct positions on a number line. The i-th beacon has position a i and power level b i. When the i-th beacon is activated, it destroys all beacons to i
相关文章
相关标签/搜索