Home => ProblemSet => 4.2-12:数字排列(数字不重复)
Problem1340--4.2-12:数字排列(数字不重复)

1340: 4.2-12:数字排列(数字不重复)

Time Limit: 1 Sec  Memory Limit: 128 MB  Submit: 0  Solved: 8
[ Submit ] [ Status ] [ Creator: ][ 参考程序 ]

Description

找出数字n的全部可能的排列(数字不可以重复) 

Input

一个整数n

Output

整数1 2 3 ... n的排列(数字不重复)

Sample Input Copy

2

Sample Output Copy

1 2
2 1

HINT

1<= n <=7

Source/Category