摘要: 输出自然数1到n所有不重复的排列(n的全排列),所产生的任一数字序列中不允许出现重复的数字。 样例输入1 3 样例输出1 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 code: 1 #include <bits/stdc++.h> 2 using namespace st 阅读全文
posted @ 2023-03-04 11:14 nasia 阅读(33) 评论(0) 推荐(0)