#include <stdio.h>
#include <math.h>
int main()
{
float x1,gh,x2; int a, b, c, fz,fm;
scanf_s("%d%d%d", &a, &b, &c);
gh = b * b - 4 * a * c;
if (gh > 0)
{
gh = sqrt(gh);
fz = -b + gh;
fm = 2 * a;
x1 = fz / fm; x2 = -fz / fm;
printf("x1=%f,x2=%f", x1, x2);
}
else if (gh = 0)
{
gh = sqrt(gh);
fz = -b + gh;
fm = 2 * a;
x1 = fz / fm;
printf("x1=x2=%f", x1);
}
else if (gh < 0)
{
printf("不存在根号");
}
else
{
printf("wrong");
}
return 0;