This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
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
|
1600 Solvers
546 Solvers
669 Solvers
369 Solvers
128 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!