2335. Minimum Amount of Time to Fill Cups
Содержание
class Solution:
def fillCups(self, amount: List[int]) -> int:
amount.sort()
if amount[0] + amount[1] <= amount[2]:
return amount[2]
return (sum(amount) + 1) // 2