Cody

Problem 43596. Find the sum of the negative elements under the main diagonal.

Example

Input
A=[1 2; -3 0]
Output
-3

Solution Stats

50.59% Correct | 49.41% Incorrect
Last solution submitted on Oct 17, 2019

Problem Comments

Problem Recent Solvers36

Suggested Problems

More from this Author15

Problem Tags