Cody

Solution 1038726

Submitted on 30 Oct 2016 by Natalya Kavetska
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))

y = 27.0000 y = 19683

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

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