#include #include #include using namespace std; int main() { long long a, b, c; cin >> a >> b >> c; cout << setprecision(16); if (a == 0) { if (b == 0) { if (c == 0) cout << "-1\n"; else cout << "0\n"; } else { cout << "1\n" << -(double)c/b << endl; } } else { long long d = b * b - 4 * a * c; if (d == 0) { cout << "1\n" << -b/2.0/a << endl; } else if (d < 0) { cout << "0\n"; } else { double r = sqrt(d); cout << "2\n" << (-b-r)/2.0/a << endl << (-b+r)/2.0/a << endl; } } }