中级农民
- 积分
- 233
- 大米
- 颗
- 鳄梨
- 个
- 水井
- 尺
- 蓝莓
- 颗
- 萝卜
- 根
- 小米
- 粒
- 学分
- 个
- 注册时间
- 2024-10-24
- 最后登录
- 1970-1-1
|
比如这题,
我读了好几遍,不用chatgpt,硬是没明白efficiency怎么算的。。。
The supply chain manager at one of Amazon's warehouses wants to measure the efficiency of the way parcels are shipped. The volume of each parcel is represented in the array parcel weights. Each day, the first and last parcels in the array parcel_weights are shipped until all of them are dispatched.
The manager comes up with metrics to calculate warehouse efficiency. Each day before shipping, any parcel in the warehouse is chosen and its volume is added to the sum of total efficiency. A parcel can only be chosen once.
Given the array parcel_weights, find the maximum possible efficiency of the warehouse. |
|