Cody

Solution 1553169

Submitted on 7 Jun 2018
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))

Output argument "y" (and maybe others) not assigned during call to "odd_elimination". Error in Test1 (line 3) assert(isequal(odd_elimination(n),y_correct))

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

Output argument "y" (and maybe others) not assigned during call to "odd_elimination". Error in Test2 (line 3) assert(isequal(odd_elimination(n),y_correct))

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

Output argument "y" (and maybe others) not assigned during call to "odd_elimination". Error in Test3 (line 3) assert(isequal(odd_elimination(n),y_correct))

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

Output argument "y" (and maybe others) not assigned during call to "odd_elimination". Error in Test4 (line 3) assert(isequal(odd_elimination(n),y_correct))

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

Output argument "y" (and maybe others) not assigned during call to "odd_elimination". Error in Test5 (line 3) assert(isequal(odd_elimination(n),y_correct))

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

Output argument "y" (and maybe others) not assigned during call to "odd_elimination". Error in Test6 (line 3) assert(isequal(odd_elimination(n),y_correct))

Suggested Problems

More from this Author12