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