#include<iostream>
using namespace std;
int main()
{
float a, b, c, x1, x2, dlt;
cout<<"input 3 parameters:";
cout<<"input a: ";
cin>>a;
cout<<"input b: ";
cin>>b;
cout<<"input c: ";
cin>>c;
dlt = b * b - 4 * a * c;
if(dlt >= 0)
{
x1 = (-b + sqrt(dlt)) / 2 / a;
x2 = (-b - sqrt(dlt)) / 2 / a;
cout<<x1<<x2;
}
else
{
cout<<"no root";
}
return 0;
}