We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
def minTime(machines, goal):
production = 0
days = 0
while(production<goal):
days +=1
production += sum([1 for i in machines if(days%i)==0])
return days
Minimum Time Required
You are viewing a single comment's thread. Return to all comments →
very simple python code