Cody

Solution 1980145

Submitted on 17 Oct 2019 by Nikolaos Nikolaou
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
A=[22 23 1; 2 4 6; 8 9 1]; y_correct = 19683; assert(isequal(Calculate(A),y_correct))

m = 27.0000 ans = 27 y = 19683

2   Pass
A=[1 2; 4 5] y_correct = 54; assert(isequal(Calculate(A),y_correct))

A = 1 2 4 5 m = 6 ans = 6 y = 54