Codeforces Round #556 (Div. 2) C. Prefix Sum Primes

NoSuchKey