摘要: int范围内的组合数已经是很大了,很多时候结果比long还大得多。 于是使用BigInteger存放: public static String combination(int n, int m) { BigInteger a = new BigInteger("1"); BigInteger b 阅读全文
posted @ 2020-09-24 01:01 Edwin_Xu 阅读(119) 评论(0) 推荐(0) 编辑