Problem1625--《C语言程序设计》江宝钏主编-习题3-8-解二次方程

1625: 《C语言程序设计》江宝钏主编-习题3-8-解二次方程

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 14  Solved: 11
[Submit] [Status] [Web Board] [Creator:]

Description


编写程序求方程ax2+bx+c=0的根,a、b、c的值由键盘输入,假设b2-4ac>0

Input

a b c

Output


两个根,大数在前,小数在后

Sample Input Copy

1 -3 2

Sample Output Copy

2 1

Source/Category