Problems Description
<p><font size="3" face="Times New Roman">有4items互不相同的数字,输出由其中三items不重复数字组成的排列。 <br /> </font></p>
Input格式
<p><font size="3" face="Times New Roman">4items整数。</font></p>
Output格式
<pre><p><font size="3" face="Times New Roman">所有排列。</font></p></pre>
Sample
Sample Input 1
1 2 3 4
Sample Output 1
1 2 3
1 3 2
2 1 3
2 3 1
3 1 2
3 2 1
1 2 4
1 4 2
2 1 4
2 4 1
4 1 2
4 2 1
1 3 4
1 4 3
3 1 4
3 4 1
4 1 3
4 3 1
2 3 4
2 4 3
3 2 4
3 4 2
4 2 3
4 3 2
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪