Cody

Solution 596000

Submitted on 14 Mar 2015 by goc3
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
%% vec = [1 2 3]; y_correct = 1; assert(isequal(get3HCRank(vec),y_correct))

i = 1

2   Pass
%% vec = [1 2 4]; y_correct = 2; assert(isequal(get3HCRank(vec),y_correct))

i = 2

3   Pass
%% vec = [3 5 8]; y_correct = 133; assert(isequal(get3HCRank(vec),y_correct))

i = 133

4   Pass
%% vec = [5 9 11]; y_correct = 222; assert(isequal(get3HCRank(vec),y_correct))

i = 222