Cody

Solution 1152323

Submitted on 3 Apr 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
n = 9; y_correct = 6; assert(isequal(odd_elimination(n),y_correct))

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.

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

Assertion failed.