Problem 2353. Sum of the Matrix Elements

Created by RA in Community

Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.

Example :

x= [ 8 1 6]

The total sum of the elements will be 8+1+6= 15.

Solution Stats

91.05% Correct | 8.95% Incorrect
Last solution submitted on May 16, 2019

Problem Comments

Solution Comments