2899: 计算一元二次方程的根

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:37 Solved:16

Description

输入a,b,c,计算一元二次方程的根

公式:x = [-b ± sqrt(b²-4ac)] / 2a

Input

三个浮点数a, b, c

Output

两个根,保留2位小数

Sample Input Copy

1 -3 2

Sample Output Copy

2.00 和 1.00