Cody

Problem 44967. Hello

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers.

Given a positive integer x, find the nearest prime number. Keep in mind that the nearest prime may be less than x.

Solution Stats

25.0% Correct | 75.0% Incorrect
Last Solution submitted on Nov 08, 2019

Problem Comments