Cody

Problem 43142. Find max prime number

Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example:

n = 10
--> mpn = 7 

Solution Stats

81.25% Correct | 18.75% Incorrect
Last Solution submitted on Oct 23, 2019