WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

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!

Add a Comment