Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 189083

Submitted on 10 Jan 2013 by Khaled Hamed

Correct

743553Size
Leading solution size is 0.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
assignin('caller','score',1e6);
str=somethingfunny;
assert(isstr(str));
rand('seed',sum(str));
assignin('caller','score',round(rand*1e6));
[Warning: Out of range or non-integer values truncated during conversion to character.]
[> In somethingfunny at 2
  In verifyCode>evaluateCode at 227
  In verifyCode at 40
  In fevalJSON at 14]