3 2 0 2 1 0 2 1 0 0 2 3 2 4 0 1 2 0
1/0 0/1 2/1 样例描述 这些多项式分别为 $f(x) = 2x$ $g(x) = 1$ $f(x) = 1$ $g(x) = 2x$ $f(x) = 4x + 2$ $g(x) = 2x + 1$