Cody

Solution 1120708

Submitted on 11 Feb 2017 by Jihye Sofia Seo
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; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 2

2   Pass
x = 2; tf_correct = false; assert(isequal(woodall(x),tf_correct))

factor = 3

3   Pass
x = 3; tf_correct = false; assert(isequal(woodall(x),tf_correct))

factor = 4

4   Pass
x = 7; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 8

5   Pass
x = 23; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 24

6   Pass
x = 63; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 64

7   Pass
x = 159; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 160

8   Pass
x = 383; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 384

9   Pass
x = 895; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 896

10   Pass
x = 1000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

factor = 1001

11   Pass
x = 2000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

factor = 2001

12   Pass
x = 2047; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 2048

13   Pass
x = 3000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

factor = 3001

14   Pass
x = 3001; tf_correct = false; assert(isequal(woodall(x),tf_correct))

factor = 3002

15   Pass
x = 4607; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 4608

16   Pass
x = 10239; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 10240

17   Pass
x = 22527; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 22528

18   Pass
x = 7516192767; tf_correct = true; assert(isequal(woodall(x),tf_correct))

factor = 7.5162e+09

19   Pass
x = 7516192766; tf_correct = false; assert(isequal(woodall(x),tf_correct))

factor = 7.5162e+09

Suggested Problems

More from this Author23