Cody

Solution 1532760

Submitted on 18 May 2018 by David Verrelli
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
n = 3; y_correct = 1; assert(isequal(normie(n),y_correct))

1 (~ 1.000000).

2   Pass
n = 23; y_correct = 289329; assert(isequal(normie(n),y_correct))

289329 (~ 289329.000000).

3   Pass
n = 36; y_correct = 797691075; assert(isequal(normie(n),y_correct))

797691075 (~ 797691075.000000).

4   Pass
n = 37; y_correct = 1467182629; assert(isequal(normie(n),y_correct))

1467182629 (~ 1467182629.000000).

5   Pass
n = 40; y_correct = 9129195487; assert(isequal(normie(n),y_correct))

9129195487 (~ 9129195487.000000).

6   Pass
n = 50; y_correct = 4045078385041; assert(isequal(normie(n),y_correct))

4045078385041 (~ 4045078385041.000000).

7   Pass
n = 70; y_correct = 794174268033812736; assert(isequal(normie(n),y_correct))

794174268033812736 (~ 794174268033812736.000000).