摘要: 题目 给定一个数组,将其分为 k 段,对每一段求和,并求得最大值 max。 求在所有的分段方案中,max 的最小值。 代码 java public class Main { public static int getMax(int array[], int n) { int max = Intege 阅读全文
posted @ 2019-09-04 22:05 xwxw 阅读(609) 评论(0) 推荐(0) 编辑