Problem statement <http://www.spoj.com/problems/HORRIBLE/>
Here <http://ideone.com/NhDuYo> is my code. I am using segment trees + Lazy propagation. Please help me figure out my mistake. I am getting a WA Note: invariant : l <= p <=q <= r l and r are the limits of that node p and q is the query range. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
