Problem 42317. De-primed

Created by goc3 in Community

Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and return that de-primed array or matrix. One will be treated as prime in this problem.

Solution Stats

51.47% Correct | 48.53% Incorrect
Last solution submitted on Apr 21, 2019

Solution Comments