Cody

Solution 1988650

Submitted on 24 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
n = 2; C_correct = [1080,1080]; assert(isequal(matrix_rep(n),C_correct))

A = 1 2 3 4 5 6 7 8 9 A = 1 4 7 2 5 8 3 6 9 B = 1 4 7 1 4 7 2 5 8 2 5 8 3 6 9 3 6 9 1 4 7 1 4 7 2 5 8 2 5 8 3 6 9 3 6 9 C = 1080 1080

2   Pass
n = 5; C_correct = [16875,16875]; assert(isequal(matrix_rep(n),C_correct))

A = 1 2 3 4 5 6 7 8 9 A = 1 4 7 2 5 8 3 6 9 B = 1 4 7 1 4 7 1 4 7 1 4 7 1 4 7 2 5 8 2 5 8 2 5 8 2 5 8 2 5 8 3 6 9 3 6 9 3 6 9 3 6 9 3 6 9 1 4 7 1 4 7 1 4 7 1 4 7 1 4 7 2 5 8 2 5 8 2 5 8 2 5 8 2 5 8 3 6 9 3 6 9 3 6 9 3 6 9 3 6 9 1 4 7 1 4 7 1 4 7 1 4 7 1 4 7 2 5 8 2 5 8 2 5 8 2 5 8 2 5 8 3 6 9 3 6 9 3 6 9 3 6 9 3 6 9 1 4 7 1 4 7 1 4 7 1 4 7 1 4 7 2 5 8 2 5 8 2 5 8 2 5 8 2 5 8 3 6 9 3 6 9 3 6 9 3 6 9 3 6 9 1 4 7 1 4 7 1 4 7 1 4 7 1 4 7 2 5 8 2 5 8 2 5 8 2 5 8 2 5 8 3 6 9 3 6 9 3 6 9 3 6 9 3 6 9 C = 16875 16875