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.14% Correct | 48.86% Incorrect
Last Solution submitted on May 25, 2020

Problem Comments