線性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
相關文章
相關標籤/搜索