#Lutece0329. Equation
Equation
Migrated from Lutece 329 Equation
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
You are given an equation:
Your task is to find the number of distinct roots of the equation and print all of them in ascending order.
Input
There are multi-cases. The first line of each case contains three integer numbers , and (). Any coefficient may be equal to .
Output
In case of infinite root count print the only integer . In case of no roots print the only integer . In other cases print the number of root on the first line and the roots on the following lines in the ascending order. Print roots with digits after the decimal point. Make sure that your program does not print for the answer, otherwise you will get Wrong Answer.
Samples
1 -5 6
2
2.000000
3.000000
Resources
2011寒假训练(一)(Not Original)