Cody

Problem 14. Find the numeric mean of the prime numbers in a matrix.

There will always be at least one prime in the matrix.

Example:

 Input  in = [ 8 3
               5 9 ]
 Output out is 4 or (3+5)/2

Solution Stats

45.36% Correct | 54.64% Incorrect
Last Solution submitted on May 26, 2020

Problem Comments

Solution Comments