⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 permutations2.txt

📁 离散数学运用的小例子,很实在,很好很好用的啊
💻 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 + -