题目描述
涉及sqrt 和全部变量,不太会
样例
```#include [HTML_REMOVED]
include [HTML_REMOVED]
using namespace std;
double a,b,c;
int main()
{
scanf(“%lf%lf%lf”,&a,&b,&c);
if(bb-4ac<0||a==0)
{
printf(“Impossivel calcular”);
return 0;
}
double x1=(-b+sqrt(bb-4ac))/(2a);
double x2=(-b-sqrt(bb-4ac))/(2*a);
printf(“R1 = %.5lf\nR2 = %.5lf”,x1,x2);
}
```