#include <iostream>
#include <cmath>
using namespace std;
int main(){
float a,b,c,delta;
cout << "Introduceti coeficientii : ";
cin >> a >> b >> c;
delta = b*b-4*a*c;
if(delta<0) cout << "Nu exista solutii reale";
else if(delta==0) cout << "Solutie unica : " << -b/(2*a);
else cout << "Solutii : " << (-b+sqrt(delta))/(2*a) << " si " << (-b-sqrt(delta))/(2*a);
}