{"trustable":false,"sections":[{"title":"Description","value":{"format":"MD","content":"请根据字典序输出自然数 $1$ 到 $n$ 所有不重复的排列,即 $n$ 的全排列,要求所产生的任一数字序列中不允许出现重复的数字\n"}},{"title":"Input","value":{"format":"MD","content":"一个整数 $n$\n"}},{"title":"Output","value":{"format":"MD","content":"由 $1 \\sim n$ 组成的所有不重复的数字序列,每行一个序列\n\n每个数字保留 $5$ 个宽度\n\nprintf(\"%5d\")\n"}},{"title":"Sample 1","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e 1 2 3\n 1 3 2\n 2 1 3\n 2 3 1\n 3 1 2\n 3 2 1\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Hint","value":{"format":"MD","content":"$1 \\leq n \\leq 9$。"}}]}