Cody

Problem 1770. singularity 2.0 (hard)

Solution 557149

Submitted on 13 Jan 2015 by Jan Orwat
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; [a, b] = myfunction(x) assert(isequal(a, b));

a = 1 b = 1

2   Pass
%% x = 2; [a, b] = myfunction(x) assert(isequal(a, x*b));

a = 8 b = 4