給定二次方程式 ax2+bx+c=0 的三個係數,計算判別式 D=b2−4ac,判斷根的情況。
Two Real Roots
One Repeated Root
No Real Roots
輸入:
1 -5 6
輸出:
1 2 1
1 0 1