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

80.85% Correct | 19.15% Incorrect
Last solution submitted on Dec 18, 2018