Cody

Solution 1732611

Submitted on 21 Feb 2019 by Corentin OGER
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
assert(isequal(times2(1),2));

1.8307 : sounds close enough elapsed time : 0.004681

2   Pass
assert(isequal(times2(11),22));

21.869 : sounds close enough elapsed time : 0.14425

3   Pass
assert(isequal(times2(-3),-6));

-6.2495 : sounds close enough elapsed time : 0.013323

4   Pass
assert(isequal(times2(29),58));

58.2361 : sounds close enough elapsed time : 0.11543