jyh-dev
Results
1
comments of
jyh-dev
//java1011 ```java class Solution { public int shipWithinDays(int[] weights, int days) { int left = 0, right = 0; for(int weight : weights){ //最大运力保证刚好一次性运完所有包裹 right += weight; //包裹不能拆开运所以至少保证载重能承载任意一个包裹; left =...