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

54.58% Correct | 45.42% Incorrect
Last Solution submitted on Nov 13, 2019