版本比较
各种文章链接
正文
增加 2 行删除 0 行
19 行未改动20212223242519 行未改动
[贪心](https://www.cnblogs.com/tzcwk/p/greedy-construction-dp.html)
[数数](https://www.luogu.com/article/xon17oly)
[线段树维护信息](https://_rqy.blog.uoj.ac/blog/8105)版本比较
增加 2 行删除 0 行
19 行未改动20212223242519 行未改动
[贪心](https://www.cnblogs.com/tzcwk/p/greedy-construction-dp.html)
[数数](https://www.luogu.com/article/xon17oly)
[线段树维护信息](https://_rqy.blog.uoj.ac/blog/8105)