摘要: [Codeforces Round 640 (Div. 4) G. Special Permutation](https://codeforces.com/contest/1352/problem/G) 题意:输出一个全排列,要求相邻数字之差的绝对值≥2且≤4. 思路: 不难发现n必须≥4,且n=4 阅读全文
posted @ 2020-05-11 01:39 StreamAzure 阅读(443) 评论(0) 推荐(0)