Cody

Solution 1369462

Submitted on 5 Dec 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
x = 1; y_correct = 1; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

2   Fail
x = 10; y_correct = 0; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

3   Fail
x = 21; y_correct = 0; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

4   Fail
x = 99; y_correct = 0; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

5   Fail
x = 512; y_correct = 1; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

6   Fail
x = 666; y_correct = 0; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

7   Fail
x = 1729; y_correct = 0; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

8   Fail
x = 4913; y_correct = 1; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

9   Fail
x = -4913; y_correct = 0; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

10   Fail
x = 5832; y_correct = 1; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

11   Fail
x = 17576; y_correct = 1; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

12   Fail
x = 19683; y_correct = 1; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)

13   Fail
x = 87539319; y_correct = 0; assert(isequal(isDudenay(x),y_correct))

Error in solution Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "isDudenay".)