Little help please !!!!

Revision en1, by KING-SEN, 2016-05-09 23:27:49

http://www.spoj.com/problems/HORRIBLE/ Hi everybody, I want to solve this problem with segment tree lazy propagation. I code it with segment tree lazy propagation but it gives me a wrong answer.I check it but I am unable to find any bug. Please anyone can help me to check my code and give me any solution for it.
code link: http://codepad.org/0LePV2tI

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English KING-SEN 2016-05-09 23:27:49 380 Initial revision (published)