Problem 2937. square number

Solution 1821660

Submitted on 21 May 2019 by Cheng Du
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(square(x),y_correct))