Cody

Solution 1633879

Submitted on 26 Sep 2018 by Jean-Marie Sainthillier
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 = 1; y_correct = 1; assert(isequal(Max_of_square_sum(x),y_correct))

ans = 1

2   Pass
x=111111 y_correct = 68; assert(isequal(Max_of_square_sum(x),y_correct))

x = 111111 ans = 68

3   Pass
x=6548191 y_correct = 269; assert(isequal(Max_of_square_sum(x),y_correct))

x = 6548191 ans = 269

4   Pass
x=789861684 y_correct = 1332; assert(isequal(Max_of_square_sum(x),y_correct))

x = 789861684 ans = 1332