Codeforces Contest 1061 problem D TV Shows——有约束的情况找区间长度最小(按开头排序的情况)

There are n TV shows you want to watch. Suppose the whole time is split into equal parts called “minutes”. The i-th of the shows is going from li-th to ri-th minute, both ends inclusive. You need a TV
相关文章
相关标签/搜索