?? 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 + -