2016年4月12日

摘要: 设计思路:将数组中每个元素依次作为数组的第一个数,利用取余保证数组首尾相接,查找每个数组的所有子数组,找到子数组和的最大值。 源代码: import java.util.Scanner; public class Arraymax { public static int maxSum(int arr 阅读全文
posted @ 2016-04-12 22:18 找不到Object 阅读(112) 评论(0) 推荐(0) 编辑
 
摘要: 阅读全文
posted @ 2016-04-12 19:30 找不到Object 阅读(99) 评论(0) 推荐(0) 编辑
 
摘要: 阅读全文
posted @ 2016-04-12 18:38 找不到Object 阅读(82) 评论(0) 推荐(0) 编辑