摘要:
"题目" 对于 $1$ 到 $n$ 的一个排列,用 $\mathsf{LIS}$ 表示其最长上升子序列的长度,用 $\mathsf{LDS}$ 表示其最长下降子序列的长度。输出一个使得 $\mathsf{LIS} + \mathsf{LDS}$ 最小的排列。 分析 这道题是 CF Round 502 阅读全文
「以解决问题为乐」
真的喜欢么?真的喜欢就去做吧。
Lost Boy Calling 。。。。
... Many of these issues are best dealt with at the algorithmic level, rather than by "tweaking" the code.
This is an obscurity that catches the unwary.
原来我什么都不懂。