Cody

Solution 419072

Submitted on 16 Mar 2014 by Ahmad Alzahrani
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
%% n = 5; S = 40; assert(isequal(FibSumSquares(n),S))

o = Columns 1 through 8 1 1 4 9 25 64 169 441 Columns 9 through 12 1156 3025 7921 20736 S = 40

2   Pass
%% n = 11; S = 12816; assert(isequal(FibSumSquares(n),S))

o = Columns 1 through 8 1 1 4 9 25 64 169 441 Columns 9 through 12 1156 3025 7921 20736 S = 12816