I have used lazy propagation to solve this question.
https://www.spoj.com/problems/CNTPRIME/
I have been trying to debug this for a long time.
Please can anyone help me with this.
My code;- https://code.hackerearth.com/49692ah
I have used lazy propagation to solve this question.
https://www.spoj.com/problems/CNTPRIME/
I have been trying to debug this for a long time.
Please can anyone help me with this.
My code;- https://code.hackerearth.com/49692ah