• + 0 comments

    t = 0 for i in operations: t+=(i[1]-i[0]+1)*i[2] return int(t/n)