Solve a quadratic equation and report its real or complex roots using the discriminant.
用判别式求解一元二次方程的两个根。