Cody

Solution 1499384

Submitted on 21 Apr 2018 by J. S. Kowontan
  • Size: 17
  • This is the leading solution.
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))

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

x = 111111

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

x = 6548191

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

x = 789861684