Descriptions:

Prefix Sum Primes

CodeForces - 1150C