摘要: 给一组长度确定的木头 如:int[]{232,124,456} 已经给定份数int k要求,将这组木头切成不低于K的份数,得到切割够木头最短值的最大值思想:二分查找public static int cutMax(int[] nums,int k){ if(nums==null||nums.leng 阅读全文
posted @ 2021-06-21 23:49 好好的一个居士 阅读(140) 评论(0) 推荐(0)