sqrt(Δ))/2a的情况)[Picat]

A. Quadratic equation

time limit per test

2 seconds

memory limit per test

256 megabytes

input

standard input

output

standard output

You are given a quadratic equation with integer coefficientsA*X2+B*X+C=0. It is guaranteed thatA≠0and that the equation has at least one real root. Output the roots of the equation.

Input

The only line of input contains integersA,BandC(-1000≤A,B,C≤1000,A≠0), separated by spaces.

Output

Output the roots of the equation in increasing order. If the equation has a single root of multiplicity 2, output it once. The root is considered to be correct if its absolute or relative error does not exceed10-4.

Sample test(s)

input

1 -2 1

output

1

input

1 0 -1

output

-1 1

input

2 -3 1

output

0.5 1

,可你仍然感谢天地和人世所带来的这些变化和发生。

sqrt(Δ))/2a的情况)[Picat]

相关文章:

你感兴趣的文章:

标签云: