摘要: 这道题非常好。其思想类似于 $O(n \log n)$ 求最长上升子序列的算法。 hint:考虑固定操作次数 $o$,$k$ 最大可取到多少? 阅读全文
posted @ 2019-10-23 11:04 Pat 阅读(415) 评论(0) 推荐(0) 编辑