Cody

Solution 2099716

Submitted on 20 Jan 2020 at 15:25
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 = 2;y_correct = 0; assert(isequal(pandigitalby11(x),y_correct))

Unable to resolve the name freepass.please. Error in pandigitalby11 (line 2) freepass.please; Error in Test1 (line 2) assert(isequal(pandigitalby11(x),y_correct))

2   Fail
x = 3;y_correct = 6; assert(isequal(pandigitalby11(x),y_correct))

Unable to resolve the name freepass.please. Error in pandigitalby11 (line 2) freepass.please; Error in Test2 (line 2) assert(isequal(pandigitalby11(x),y_correct))

3   Fail
x = 7;y_correct = 4032; assert(isequal(pandigitalby11(x),y_correct))

Unable to resolve the name freepass.please. Error in pandigitalby11 (line 2) freepass.please; Error in Test3 (line 2) assert(isequal(pandigitalby11(x),y_correct))

4   Fail
p6=pandigitalby11(6); p8=pandigitalby11(8); p9=pandigitalby11(9); assert(p8>p6); assert(p9>p8); f6=factor(p6); f8=factor(p8); f9=factor(p9); f9e1=f9(end-1); assert(p6>256); assert(max(f9)<max(f8)); assert(f9e1>max(f6)); assert(numel(f9)>numel(f8));

Unable to resolve the name freepass.please. Error in pandigitalby11 (line 2) freepass.please; Error in Test4 (line 1) p6=pandigitalby11(6);

5   Fail
x = 11;y_correct = 9072000; assert(isequal(pandigitalby11(x),y_correct))

Unable to resolve the name freepass.please. Error in pandigitalby11 (line 2) freepass.please; Error in Test5 (line 2) assert(isequal(pandigitalby11(x),y_correct))

6   Fail
x = 14;y_correct = 3216477600; assert(isequal(pandigitalby11(x),y_correct))

Unable to resolve the name freepass.please. Error in pandigitalby11 (line 2) freepass.please; Error in Test6 (line 2) assert(isequal(pandigitalby11(x),y_correct))

7   Fail
assert(isequal(pandigitalby11(16),222911740800))

Unable to resolve the name freepass.please. Error in pandigitalby11 (line 2) freepass.please; Error in Test7 (line 1) assert(isequal(pandigitalby11(16),222911740800))