This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = int8.empty(3,0);
y_correct = [];
assert(isequal(funny(x),y_correct))
|
2 | Pass |
%%
text=fileread('funny.m');
assert(isempty(strfind(text,'[]')))
assert(isempty(strfind(text,'empty')))
|
1137 Solvers
340 Solvers
812 Solvers
94 Solvers
168 Solvers