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

51.9% Correct | 48.1% Incorrect
Last solution submitted on Mar 02, 2019

Problem Comments