📄 permutations2.txt
字号:
public class TestPermutations
{
public static void main(String[] args)
{
Permutations p=new Permutations();
int[] a={1, 2, 3, 4, 5};
int[][] b = p.findAllLexPermutations(a);
for (int m=0;m<b.length; m++)
{
System.out.print("( ");
for (int n=0;n<b[0].length; n++)
{
System.out.print(b[m][n]+", " );
}
System.out.print(")"+"\n");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -