post_img

[CF1741B]Funny Permutation 题解

摘要

我的个人博客 思路 题目要求任意一个数要和最少相邻一个数相差为 $ 1 $ ,我们可以很简单地想到构造两个序列:由 $ 1 $ 到 …