Cody

Solution 1722494

Submitted on 7 Feb 2019 by Athi
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
n = 9; y_correct = 6; assert(isequal(odd_elimination(n),y_correct))

2   Pass
n = 1000; y_correct = 510; assert(isequal(odd_elimination(n),y_correct))

3   Pass
n = 99; y_correct = 56; assert(isequal(odd_elimination(n),y_correct))

4   Pass
n = 5000; y_correct = 2014; assert(isequal(odd_elimination(n),y_correct))

5   Pass
n = 100000; y_correct = 55286; assert(isequal(odd_elimination(n),y_correct))

6   Pass
n = 666; y_correct = 480; assert(isequal(odd_elimination(n),y_correct))

Suggested Problems

More from this Author12