Cody

# Problem 680. Hack not this Test Suite you will

Solution 459511

Submitted on 20 Jun 2014 by Clemens Giegerich
• Size: 7
• This is the leading solution.
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
%% me=randi(10000); challenger=Good_Luck(1); assert(isequal(me,challenger))

ans = 1 ans = 1

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

ans = 1 ans = 1

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

ans = 1 ans = 1

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

ans = 1 ans = 1

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

ans = 1 ans = 1

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)

ans = 1 ans = 1

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

ans = 1 ans = 1

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

ans = 1 ans = 1

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

ans = 1 ans = 1

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

ans = 1 ans = 1

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

ans = 1 ans = 1