Cody

Solution 1033822

Submitted on 27 Oct 2016 by Gergely Patay
  • Size: 18
  • This is the leading solution.
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))

ans = 19683

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

A = 1 2 4 5