Water Heater(前缀和)
Water Heater题目描述We have a water heater, which supplies W liters of hot water per minute.There are N people. The i-th person plans to use Pi liters of hot water per minute boiled by the heater from Time Si to Ti (excluding at Time Ti exactly). As hot wate
原创
2021-06-14 16:33:05 ·
260 阅读 ·
0 评论