Cody

Solution 1960087

Submitted on 4 Oct 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   Pass
x = 10; y_correct = 2640; assert(isequal(euler006(x),y_correct))

y = 2640

2   Fail
x = 20; y_correct = 41230; assert(isequal(euler006(x),y_correct))

y = 155

Assertion failed.

3   Fail
x = 200; y_correct = 401323300; assert(isequal(euler006(x),y_correct))

y = -2683675

Assertion failed.