Range Updates and Sums (Lazy propagation )

Hi all,

I am trying to solve range updates problem
here is my solution link
it passes on one of the subtasks I tried on some sample it seems to correct. Since using lazy propagation I am kind of not able to debug much.

any help will be appreciated