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

53.55% Correct | 46.45% Incorrect
Last Solution submitted on Dec 13, 2019