#include <stdio.h>
#include <math.h>
int main (void){
int a,b,c;
int x1,x2,q;
while(scanf("%d %d %d",&a,&b,&c)!=EOF){
q=sqrt(b*b-4*a*c);
x1=(-b+q)/(2*a);
x2=(-b-q)/(2*a);
if(b*b-4*a*c<0){
printf("No real root");
}else if(x1!=x2){
printf("Two different roots x1=%d , x2=%d ",x1,x2);
}else if(x1==x2){
printf("Two same roots x=%d ",x1);
}
}
return 0;
}
###正確解答~~