Rosetta Problems

Counting Primes

https://judge.yosupo.jp/problem/counting_primes