Lesson 11. Sieve of Eratosthenes - CountSemiPrimes #1
1. 문제A prime is a positive integer X that has exactly two distinct divisors: 1 and X. The first few prime integers are 2, 3, 5, 7, 11 and 13.A semiprime is a natural number that is the product of two (not necessarily distinct) prime numbers. The first few semiprimes are 4, 6, 9, 10, 14, 15, 21, 22, 25, 26.You are given two non-empty arrays P and Q, each consisting of M integers. These arrays rep..