I think much time to solve this problem.

but easily i got depressed

because finding primes under 10^12 is too big.

my computer can only 10^9 by using Prime sieve.

so I had to find how to count primeCount under some number.

finally I solved it~!

## Comments

## Post a Comment