Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
0x45 solution in Speedy category for Most Efficient Cutting by lombord0102
def most_efficient_cutting(bom):
summ = sum(bom)
check = sum(map(lambda x: 6000 - x, bom))
if not summ % 6000:
return 0 if not check % summ else 6000
return 6000 - summ % 6000 if check > summ else check
Dec. 29, 2022
Comments: