#34851: esay


yp11151151@yphs.tp.edu.tw (908-37陳祈佑)


#include<bits/stdc++.h>
using namespace std;
int main() {
    int a,b,c,d,big,small,z;
    cin>>a>>b>>c;
    z=b-2*b;
    big=(z+sqrt(b*b-4*a*c))/(2*a);
    small=(z-sqrt(b*b-4*a*c))/(2*a);
    d=b*b-4*a*c;
    if(d<0){
        cout <<"No real root";
    }
    else if(d>0){
        cout <<"Two different roots x1="<<big<<" , x2="<<small;
    }
    else{
            cout <<"Two same roots x="<<big;
    }
    return 0;
}