练57.1 全排列问题
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
输出自然数 到 所有不重复的排列,即 的全排列,要求所产生的任一数字序列中不允许出现重复的数字。
输入格式
一个整数 ()。
输出格式
由 组成的所有不重复的数字序列,每行一个序列。每个数字保留 个场宽。
样例
31    2    3
1    3    2
2    1    3
2    3    1
3    1    2
3    2    1
202401250001
- Status
 - Done
 - Rule
 - ACM/ICPC
 - Problem
 - 6
 - Start at
 - 2024-1-25 15:30
 - End at
 - 2024-1-25 16:30
 - Duration
 - 1 hour(s)
 - Host
 - Partic.
 - 7