Cody

Solution 85447

Submitted on 4 May 2012 by Binbin Qi
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
%% assert(isequal(hackathon1,randi(10000)))

{Warning: Function /users/msssystem27/randi.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon1 at 7 In verifyCode>evaluateCode at 189 In verifyCode at 37 In fevalJSON at 14}

2   Pass
%% assert(isequal(hackathon1,randi(10000)))

{Warning: Function /users/msssystem27/randi.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon1 at 7 In verifyCode>evaluateCode at 189 In verifyCode at 37 In fevalJSON at 14}

3   Pass
%% assert(isequal(hackathon1,randi(10000)))

{Warning: Function /users/msssystem27/randi.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon1 at 7 In verifyCode>evaluateCode at 189 In verifyCode at 37 In fevalJSON at 14}

4   Pass
%% assert(isequal(hackathon1,randi(10000)))

{Warning: Function /users/msssystem27/randi.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon1 at 7 In verifyCode>evaluateCode at 189 In verifyCode at 37 In fevalJSON at 14}