So really, the name of the game is to pass only the assertion tests; as opposed to the description of the problem.
Definitely not seeing how to get a solution size 0...
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
assert(isequal(times2(1),2));
ans =
2
|
2 | Pass |
%%
assert(isequal(times2(11),22));
ans =
22
|
3 | Pass |
%%
assert(isequal(times2(-3),-6));
ans =
-6
|
4 | Pass |
%%
assert(isequal(times2(29),58));
ans =
58
|
Find relatively common elements in matrix rows
644 Solvers
851 Solvers
1046 Solvers
281 Solvers
How many trades represent all the profit?
460 Solvers