Cody

Solution 1236894

Submitted on 22 Jul 2017 by Chris Cleveland
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
a=[1 -1 2]; b=[2 4 1]; y_correct = 0; assert(isequal(PolSol(a,b),y_correct))

2   Pass
a=[ 5 2 0 5 3 0]; b=[ 3 2 5 1 0 2]; y_correct = 24; assert(isequal(PolSol(a,b),y_correct))