Problems Description
求方程 的根,用三items函数points别求当b^2-4ac大于0、等于0、和小于0时的根,并输出结果。从主函数输入a、b、c的值。
Input格式
a b c
Output格式
x1=? x2=?
Sample
Sample Input 1
4 1 1
Sample Output 1
x1=-0.125+0.484i x2=-0.125-0.484i
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪