#include #include using namespace std; using namespace atcoder; using ll=long long; using ld=long double; ld pie=3.141592653589793; ll inf=144499999999994; ll mod=1000000007; int main(){ ld a,b,c; cin >> a >> b >> c; if (b*b-4*a*c>0) { cout << 2 << endl; ld left=-inf,right=-(b/(2.0*a)); while (right-left>0.0000000000001) { ld mid=(right+left)/2.0; if (a*mid*mid+b*mid+c>0) { left=mid; }else{ right=mid; } } cout << setprecision(100) << left << endl; left=-(b/(2.0*a)),right=inf; while (right-left>0.0000000000001) { ld mid=(right+left)/2.0; if (a*mid*mid+b*mid+c>0) { right=mid; }else{ left=mid; } } cout << setprecision(100) << left << endl; }else if (b*b-4*a*c==0) { cout << 1 << endl; cout << setprecision(100) << -(b/(2.0*a)) << endl; }else{ cout << 0 << endl; } }