Cody

Solution 1732050

Submitted on 21 Feb 2019
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
x = 0; assert(isequal(isextrasafe(x),false))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test1 (line 2) assert(isequal(isextrasafe(x),false))

2   Fail
x = 5; assert(isequal(isextrasafe(x),false))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test2 (line 2) assert(isequal(isextrasafe(x),false))

3   Fail
x = 7; assert(isequal(isextrasafe(x),false))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test3 (line 2) assert(isequal(isextrasafe(x),false))

4   Fail
x = 11; assert(isequal(isextrasafe(x),true))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test4 (line 2) assert(isequal(isextrasafe(x),true))

5   Fail
x = 15; assert(isequal(isextrasafe(x),false))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test5 (line 2) assert(isequal(isextrasafe(x),false))

6   Fail
x = 23; assert(isequal(isextrasafe(x),true))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test6 (line 2) assert(isequal(isextrasafe(x),true))

7   Fail
x = 71; assert(isequal(isextrasafe(x),false))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test7 (line 2) assert(isequal(isextrasafe(x),false))

8   Fail
x = 719; assert(isequal(isextrasafe(x),true))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test8 (line 2) assert(isequal(isextrasafe(x),true))

9   Fail
x = 2039; assert(isequal(isextrasafe(x),true))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test9 (line 2) assert(isequal(isextrasafe(x),true))

10   Fail
x = 2040; assert(isequal(isextrasafe(x),false))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test10 (line 2) assert(isequal(isextrasafe(x),false))

11   Fail
x = 5807; assert(isequal(isextrasafe(x),true))

Error using disp Too many input arguments. Error in isextrasafe (line 4) disp(y,z) Error in Test11 (line 2) assert(isequal(isextrasafe(x),true))