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

52.5% Correct | 47.5% Incorrect
Last solution submitted on Jul 29, 2019

Problem Comments