Cody

Problem 2129. Sum of odd numbers in a matrix

Find the sum of all the odd numbers in a matrix.

Example

 x = [2 3 5 7 1 4 11]
 y = 27

Solution Stats

56.05% Correct | 43.95% Incorrect
Last solution submitted on Jul 11, 2019