求一元二次方程的根
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
一元二次方程
- 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