Cody

Solution 1584751

Submitted on 16 Jul 2018 by goc3
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))

ans = 1

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

ans = 289329

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

ans = 797691075

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

ans = 1.4672e+09

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

ans = 9.1292e+09

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

ans = 4.0451e+12

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

ans = 7.9417e+17

Suggested Problems

More from this Author1