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.16% Correct | 48.84% Incorrect
Last Solution submitted on Jan 11, 2020

Problem Comments