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

55.69% Correct | 44.31% Incorrect
Last solution submitted on Oct 15, 2019