Cody

Solution 1146837

Submitted on 27 Mar 2017 by H M Dipu Kabir
  • Size: 10
  • This is the leading solution.
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))

ans = []

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))

ans = []