求一元二次方程式 aX2 + bX + c = 0 的根
每組輸入共一行,內含三個整數 a, b, c 以空白隔開。
Two different roots x1=?? , x2=??
Two same roots x=??
No real root
PS: 答案均為整數,若有兩個根則大者在前
1 3 -10
Two different roots x1=2 , x2=-5
1 0 0
Two same roots x=0
1 1 1
No real root
ID | User | Problem | Subject | Hit | Post Date |
1224 |
1452945-9@g....
(S2F38羅振軒)
|
a614 | 76 | 2023-06-07 20:11 |