Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = round((1+rand)*10)/10;
tic; your_fcn_name(x); your_time=toc
y_correct = x;
assert(isequal(your_fcn_name(x),y_correct))
assert(your_time>x/2)
your_time =
0.0032
|
15296 Solvers
163 Solvers
613 Solvers
Find out missing number from a vector of 9 elements
245 Solvers
185 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!