#A. 求一元二次方程的根

    Type: Default 1000ms 256MiB

求一元二次方程的根

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

二次方程 ax2+bx+c = 0 (其中a≠0),a 是二次项系数,bx 叫作一次项,b是一次项系数;c叫作常数项。 x 的值为: 在这里插入图片描述

根的判别式 在这里插入图片描述

在这里插入图片描述

Format

Input

Output

Samples

1 1 -2
1
-2
1 -10 25
5
5
1 2 3
-1+1.41421i
-1-1.41421i

Limitation

一元二次方程

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2024-6-22 0:00
End at
2024-7-7 0:00
Duration
360 hour(s)
Host
Partic.
5