摘要:
package test1;import java.util.LinkedList;//输入整数,输出其所有拆分组合,如输入4 ,输出{1,1,1,1} {1,1,2} {1,3} {2,2}public class 和组合 { public static void f(int n,LinkedLi... 阅读全文
posted @ 2014-05-20 15:03
蓦然回首的包子
阅读(248)
评论(0)
推荐(0)
摘要:
package test1;public class MaxSum { public static void execute3(int[] array, int len) { int max = array[0], sum = array[0]; for (int i = 1; i max)... 阅读全文
posted @ 2014-05-20 10:53
蓦然回首的包子
阅读(192)
评论(0)
推荐(0)

浙公网安备 33010602011771号