CNTPRIME — Counting Primes SPOJ PROBLEM.

Revision en1, by TiTan_Nayan, 2019-08-15 10:03:11

I have used lazy propagation to solve this question.

https://www.spoj.com/problems/CNTPRIME/

I have trying to debug this for a long time.

Please can anyone help me with this.

My code;- https://code.hackerearth.com/49692ah

Tags #segment tree, #lazy propagation, #primes

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English TiTan_Nayan 2019-08-15 10:04:22 7 Tiny change: 'n\nI have trying to' -> 'n\nI have been trying to'
en1 English TiTan_Nayan 2019-08-15 10:03:11 274 Initial revision (published)