October 31, 2020
Primes less than n
Threads:Counts the number of primes less than or equal to n.
Input: A unique number n. n <= 5*10^9.
Output: Number of primes less than or equal to n.
For example:
input: 3 output: 2
You are not logged in? Log in to Submit Now!