#include<stdio.h> #include<math.h> int main(void) { double a,b,c,d; double x1,x2; scanf("%lf %lf %lf",&a,&b,&c); if(a==0) printf("Error!"); else if((a==0)&&(b==0)&&(c==0)) return 0; while(a!=0){ scanf("%lf %lf %lf",&a,&b,&c); if(b*b-4*a*c<0) printf("No,solution!"); if(b*b-4*a*c==0) printf("x1=x2=%.6f ",x1=x2=-b/2*a); else{ d=sqrt(b*b-4*a*c); printf("x1=%.6f ",(-b+d)/2*a); printf("x2=%.6f ",(-b-d)/2*a); } } return 0; }