#include #include #include int main(void){ long long i,j,k,D,N=0; long double x1,x2=0; scanf("%lld%lld%lld",&i,&j,&k); D = j*j - 4*i*k; if(i != 0){ if(D > 0){ N = 2; x1 = (-j - sqrtl(D))/(2*i); x2 = (-j + sqrtl(D))/(2*i); }else if(D == 0){ N = 1; x1 = x2 = -j/(2*i); }else{ N = 0; } }else if(i == 0){ if(j != 0){ N = 1; x1 = x2 = -k/j; }else if(j == 0){ if(k == 0){ N = -1; }else if(k != 0){ N = 0; } } } if(N > 1){ printf("%lld\n%.14Lf\n%.14Lf,N,x1,x2"); }else if(N == 1){ printf("%lld\n%.14Lf", N,x1); }else{ printf("%lld", N); } }