Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Internet Plan by Magu
from functools import reduce
def internet_quota(X: int, used: list[int]) -> int:
return reduce(lambda x, y: x - y, used, X * (len(used) + 1))
Sept. 24, 2024
Comments: