http://www.spoj.com/problems/CNTPRIME/
Hi, i am trying to solve this problem its a simple range count segment tree with lazy updates but no matter how i try it gets wrong answer but it outputs correctly everything i try at it.
Here is my code: https://ideone.com/y8V607



