#A. 练57.1 全排列问题

    Type: RemoteJudge 1000ms 256MiB

练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.

说明

输出自然数 11nn 所有不重复的排列,即 nn 的全排列,要求所产生的任一数字序列中不允许出现重复的数字。

输入格式

一个整数nn (1n91≤n≤9)。

输出格式

1simn1sim n 组成的所有不重复的数字序列,每行一个序列。每个数字保留 55 个场宽。

样例

3
    1    2    3
    1    3    2
    2    1    3
    2    3    1
    3    1    2
    3    2    1

2024 西中经开信息竞赛暑假集训习题

Not Claimed
Status
Done
Problem
4
Open Since
2024-7-12 0:00
Deadline
2024-8-18 0:00
Extension
24 hour(s)