求一元二次方程式 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 |
35177 | CodingPrep(演算法/資料結構教學) | a006 | 172 | 2023-05-14 17:58 | |
35122 |
|
a006 | 132 | 2023-05-10 11:31 | |
34851 |
|
a006 | 759 | 2023-04-21 13:21 | |
34820 |
|
a006 | 300 | 2023-04-19 01:48 | |
34671 |
|
a006 | 326 | 2023-04-06 20:26 |