#include #include using namespace std; int main() { long long a, b, c; cin >> a >> b >> c; cout.precision(15); if (a == 0 && b == 0 && c == 0) { cout << -1 << endl; } else if (a == 0 && b == 0) { cout << 0 << endl; } else if (a == 0) { cout << 1 << endl; cout << fixed << -(long double)(c) / b << endl; } else { long long d = b * b - 4 * a * c; if (d < 0) { cout << 0 << endl; } else if (d == 0) { cout << 1 << endl; cout << -(long double)(b) / (2 * a) << endl; } else { cout << 2 << endl; cout << (-b - sqrt((long double)(d))) / (2 * a) << endl; cout << (-b + sqrt((long double)(d))) / (2 * a) << endl; } } return 0; }