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 128724

Submitted on 17 Aug 2012 by James

Correct

34Size
Leading solution size is 7.
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
 
%%
me=randi(10000);
challenger=Good_Luck(1);
assert(isequal(me,challenger))
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
2
Pass
 
%%
randi(5);
randi(5);
y=randi(5)+20;
rng(y);
challenger=Good_Luck(1);
if isequal(2,1)
 while true
  % Binbin Qi gets a TimeOut
 end
end
me=randi(10000);
assert(isequal(challenger,me))
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
3
Pass
 
%%
randi(5);
y=randi(5)+20;
rng(y);
me=randi(10000);
challenger=Good_Luck(1);
assert(me==challenger)
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
4
Pass
 
%%
randi(5);
y=randi(5)+20;
rng(y);
randi(10000);
me=randi(10000);
challenger=Good_Luck(1);
assert(isequal(me,challenger))
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
5
Pass
 
%%
randi(5);randi(5);randi(5);
y=randi(5)+20;
rng(y);
me=randi(10000);
challenger=Good_Luck(1);
assert(isequal(me,challenger))
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
6
Pass
 
%%
y=randi(5);
while y<20
 y=y+randi(5);
end
rng(y);
me=randi(10000);
challenger=Good_Luck(1);
assert(me==challenger)
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
7
Pass
 
%%
rng(24);
me=randi(10000);
challenger=Good_Luck(1);
assert(me==challenger)
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
8
Pass
 
%%
rng(23);
randi(10000);
me=randi(10000);
challenger=Good_Luck(1);
assert(me==challenger)
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
9
Pass
 
%%
challenger=Good_Luck(1);
me=randi(10000);
assert(challenger==me)
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
10
Pass
 
%%
me=randi(10000);
challenger=Good_Luck(1);
assert(isequal(me,challenger))
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
11
Pass
 
%%
rng(25);
challenger=Good_Luck(1);
me=randi(10000);
assert(isequal(me,challenger))
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/license.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/web_common/shadow/graphicsAndGuis/uicontrol.m
has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/home.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/keyboard.m has
the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/more.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function
/opt/mlsedu/mdcsserver/latest/m/common/shadow/pause.m has the
same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.}
{> In path at 110
  In Good_Luck at 2
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}
{Warning: Function /users/msssystem14/assert.m has the same
name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.}
{> In Good_Luck at 6
  In verifyCode>evaluateCode at 189
  In verifyCode at 40
  In fevalJSON at 14}