You are viewing a single comment's thread. Return to all comments →
def solve(n, operations): count=0 for operation in operations: count+=operation[2] *(operation[1]-operation[0]+1) return math.floor(count/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 →