Cody

Solution 289866

Submitted on 26 Jul 2013 by Alfonso Nieto-Castanon
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/msssystem12/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In hackathon1 at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14] ans = 0

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

[Warning: Function /users/msssystem12/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In hackathon1 at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14] ans = 0

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

[Warning: Function /users/msssystem12/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In hackathon1 at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14] ans = 0

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

[Warning: Function /users/msssystem12/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In hackathon1 at 2 In verifyCode>evaluateCode at 227 In verifyCode at 40 In fevalJSON at 14] ans = 0

Suggested Problems

More from this Author38