随笔分类 -  algorithm

【编程题】输入12个数,每6个1组,列出所有不重复的组。
摘要:公式中A(n,m)为排列数公式,C(n,m)为组合数公式。import java.util.Scanner;public class Test{ static void inputArray(int[] k){ for(int i = 0;i<k.length;i... 阅读全文
posted @ 2018-10-21 16:50 古往今夕 阅读(228) 评论(0) 推荐(0)