'POL (x^3-4x^2+x-3) (x^3+4x^2-1) = x^6-15x^4-8x^2-x+3 Prog {INP} k? 8 ? ? ? ? ? ? ? ? -3 1 -4 1 -1 0 4 1 Prog {POL} m? 4 3 -1 -8 0 -15 0 1 (2x-1) (2x-1) (2x-1) (2x-1) = (2x-1)^4 = 16x^4-32x^3+24x^2-8x+1 Prog {INP} k? 4 ? ? ? ? -1 2 -1 2 Prog {POL} m? 2 1 -4 4 {EXE} m? 2 -1 6 -12 8 {EXE} m? 2 1 -8 24 -32 16 G: Size of the first polinomial I: counter J: counter K: total number of values M[]: multiplying polinomials ---------