Cody

# Problem 2061. Narcissistic number ?

Solution 1936098

Submitted on 14 Sep 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 = 1; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

2   Fail
x = 9; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

3   Fail
x = 10; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

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

4   Fail
x = 99; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

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

5   Fail
x = 152; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

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

6   Fail
x = 153; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

7   Fail
x = 154; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

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

8   Fail
x = 371; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

9   Fail
x = 370; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

10   Fail
x = 1634; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

11   Fail
x = 8207; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

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

12   Fail
x = 9474; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

13   Fail
x = 9926315; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

14   Fail
x = 88593477; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

15   Fail
x = 9800817; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

16   Fail
x = 54748; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

17   Fail
x = 4679307774; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

18   Fail
x = 472335975; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

19   Fail
x = 32164049650; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

20   Fail
x = 32164049651; y_correct = true; assert(isequal(isnarcissistic(x),y_correct))

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

21   Fail
x = 32164049652; y_correct = false; assert(isequal(isnarcissistic(x),y_correct))

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