Cody

Solution 1352471

Submitted on 21 Nov 2017
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   Fail
me=randi(10000); challenger=Good_Luck(1); assert(isequal(me,challenger))

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test1 (line 2) challenger=Good_Luck(1);

2   Fail
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))

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test2 (line 5) challenger=Good_Luck(1);

3   Fail
randi(5); y=randi(5)+20; rng(y); me=randi(10000); challenger=Good_Luck(1); assert(me==challenger)

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test3 (line 5) challenger=Good_Luck(1);

4   Fail
randi(5); y=randi(5)+20; rng(y); randi(10000); me=randi(10000); challenger=Good_Luck(1); assert(isequal(me,challenger))

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test4 (line 6) challenger=Good_Luck(1);

5   Fail
randi(5);randi(5);randi(5); y=randi(5)+20; rng(y); me=randi(10000); challenger=Good_Luck(1); assert(isequal(me,challenger))

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test5 (line 5) challenger=Good_Luck(1);

6   Fail
y=randi(5); while y<20 y=y+randi(5); end rng(y); me=randi(10000); challenger=Good_Luck(1); assert(me==challenger)

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test6 (line 7) challenger=Good_Luck(1);

7   Fail
rng(24); me=randi(10000); challenger=Good_Luck(1); assert(me==challenger)

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test7 (line 3) challenger=Good_Luck(1);

8   Fail
rng(23); randi(10000); me=randi(10000); challenger=Good_Luck(1); assert(me==challenger)

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test8 (line 4) challenger=Good_Luck(1);

9   Fail
challenger=Good_Luck(1); me=randi(10000); assert(challenger==me)

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test9 (line 1) challenger=Good_Luck(1);

10   Fail
me=randi(10000); challenger=Good_Luck(1); assert(isequal(me,challenger))

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test10 (line 2) challenger=Good_Luck(1);

11   Fail
rng(25); challenger=Good_Luck(1); me=randi(10000); assert(isequal(me,challenger))

Undefined function or variable 'me'. Error in Good_Luck (line 2) challenger = me; Error in Test11 (line 2) challenger=Good_Luck(1);