Cody

Solution 2000039

Submitted on 2 Nov 2019 by Asif Newaz
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
x = 35431; y_correct = 256; assert(isequal(sq_sum(x),y_correct))

b = 3 b = 8 b = 12 b = 15 b = 16

2   Pass
x = -431; y_correct = 64; assert(isequal(sq_sum(x),y_correct))

b = 4 b = 7 b = 8