Cody

Problem 43632. Find the product of the positive elements above the main diagonal.

Example

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

Solution Stats

35.9% Correct | 64.1% Incorrect
Last Solution submitted on Oct 29, 2019

Problem Comments