Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = 100;
u = 'MB';
y_correct = 95.4;
assert(isequal(convert(a,u),y_correct))
real_size =
95.4000
|
2 | Pass |
%%
a = 10;
u = 'GB';
y_correct = 9.31;
assert(isequal(convert(a,u),y_correct))
real_size =
9.3100
|
3 | Fail |
%%
a = 500;
u = 'GB';
y_correct = 465.5;
assert(isequal(convert(a,u),y_correct))
Error: Assertion failed.
|
265 Solvers
150 Solvers
157 Solvers
Find Index of maximum Value and maximum Value of a vector
123 Solvers
I've got the power! (Inspired by Project Euler problem 29)
75 Solvers