Cody

Solution 1874686

Submitted on 15 Jul 2019 by Evan
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 = 1; s_correct = 1; assert(isequal(sumOfSquares(n),s_correct))

ans = 1

2   Pass
n=3 s_correct=14 assert(isequal(sumOfSquares(n),s_correct))

n = 3 s_correct = 14 ans = 14