1323: 【回溯】全排列

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:106 Solved:68

Description

输入n输出1..n个数的全部排列。数字不可以重复 例如输入3 输出一行一个 123 132 213 231 312 321

Sample Input Copy

2

Sample Output Copy

12
21

Source/Category