F. Knapsack for All Segments

Problem Name:
F. Knapsack for All Segments
Site:AtCoder
Links:
Tags: