spoj wa on submission

Horrible queries.SPOJ
getting wa on submission

please reply stuck since a day

Please paste the link of question and your solution properly. Also, whenever we ask any question on forums, it’s always good to frame your query telling your approach. Put proper comments in your code so that reader can understand your notion.

[link text][1]


segment tree+lazy propogation

plzz respond

plz…stuck since day