Cody

Solution 1927595

Submitted on 9 Sep 2019 by Nikolaos Nikolaou
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
x = [1 2 4 6 4]; y_correct = true; assert(isequal(beatMe(x),y_correct))

y = logical 1

2   Pass
x = [1 8 3 2 4]; y_correct = true; assert(isequal(beatMe(x),y_correct))

y = logical 1

3   Pass
x = [7 100003 4000002 6.020 4.1]; y_correct = false; assert(isequal(beatMe(x),y_correct))

y = logical 0

4   Pass
x = [1 21 45 16 4]; y_correct = false; assert(isequal(beatMe(x),y_correct))

y = logical 0

5   Pass
x = [1 3 3 2]; y_correct = false; assert(isequal(beatMe(x),y_correct))

y = logical 0