You are viewing a single comment's thread. Return to all comments →
My oneliner Python:
def solve(n, operations): return int(sum([(o[1]-o[0]+1)*o[2] for o in operations])/n)
Seems like cookies are disabled on this browser, please enable them to open this website
Filling Jars
You are viewing a single comment's thread. Return to all comments →
My oneliner Python: