Cody

Problem 205. Hackathon: the beginnings

Solution 474647

Submitted on 18 Jul 2014 by Abdullah Caliskan
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 assert 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 238 In verifyCode at 43 In fevalJSON at 14]

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

[Warning: Function assert 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 238 In verifyCode at 43 In fevalJSON at 14]

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

[Warning: Function assert 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 238 In verifyCode at 43 In fevalJSON at 14]

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

[Warning: Function assert 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 238 In verifyCode at 43 In fevalJSON at 14]

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!