SP290 POLYEQ - Polynomial Equations

Description

You are given the polynomial F(x) as the sum of monomials. Each monomial has the form: \[_coefficient_\*\]_x_\[^_degree_\] or \[_coefficient_\], where _coefficient_ and _degree_ are integers such that -30000

Input Format

_t_ – the number of test cases, then _t_ test cases follow. \[_t_

Output Format

For each test case output all solutions (including repeated) of the given equation in non-decreasing order. All solutions lie within the interval \[-100.0; 100.0\]. Each solution must be given with an error of not more than 0.01. It's guaranteed that all solutions are real, not complex.