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