You are viewing a single comment's thread. Return to all comments →
def r(n): return n//5 + (n % 5)//2 + (n % 5)%2 def equal(arr): m = min(arr) return min([sum([r(elem-m+x) for elem in arr]) for x in range(6)])
Hahaha yes, thought same thing
Seems like cookies are disabled on this browser, please enable them to open this website
Equal
You are viewing a single comment's thread. Return to all comments →
Hahaha yes, thought same thing