Cody

Solution 712489

Submitted on 9 Aug 2015 by LY Cao
  • Size: 8
  • This is the leading solution.
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
%% 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')))