曹文信息在线OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
1323: 【回溯】全排列
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:106
Solved:68
Submit
Submit Record
Statistics
Web Board
ShowOff!
Description
输入n输出1..n个数的全部排列。数字不可以重复 例如输入3 输出一行一个 123 132 213 231 312 321
Sample Input
Copy
2
Sample Output
Copy
12 21
Source/Category
高级A