摘要: 题目链接 https://www.luogu.com.cn/problem/P1088 题解 关于顺序枚举若干排列问题,大概有三种方法: C++ STL 中的 next_permutation() 手动实现 next_permutation() 康托展开 此处采用第二种方法。 我们考虑要增大一个排列 阅读全文
posted @ 2020-12-24 15:54 可爱的小凯凯 阅读(92) 评论(0) 推荐(0)