Cody

Problem 207. hackathon impossible

Solution 131439

Submitted on 27 Aug 2012 by Aurelien Queffurust
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
%% rand(1,12345); assert(isequal(randi(10000),hackathon3))

{Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon3 at 5 In verifyCode>evaluateCode at 189 In verifyCode at 40 In fevalJSON at 14}

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

{Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon3 at 5 In verifyCode>evaluateCode at 189 In verifyCode at 40 In fevalJSON at 14}

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

{Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon3 at 5 In verifyCode>evaluateCode at 189 In verifyCode at 40 In fevalJSON at 14}

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

{Warning: Function /users/msssystem16/assert.m has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.} {> In hackathon3 at 5 In verifyCode>evaluateCode at 189 In verifyCode at 40 In fevalJSON at 14}

Community Treasure Hunt

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

Start Hunting!