#include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); long long a, b, c; cin >> a >> b >> c; if (a == 0) { if (b == 0) { if (c == 0) { cout << -1 << '\n'; } else { cout << 0 << '\n'; } } else { cout << 1 << '\n'; cout << fixed << setprecision(15) << (double)(-c) / b << '\n'; } } else { if (b * b == 4 * a * c) { cout << 1 << '\n'; cout << fixed << setprecision(15) << (double)(-b) / (2 * a) << '\n'; } else if (b * b - 4 * a * c > 0) { double d = sqrt(b * b - 4 * a * c); cout << 2 << '\n'; cout << fixed << setprecision(15) << (-b + d) / (2 * a) << '\n'; cout << fixed << setprecision(15) << (-b - d) / (2 * a) << '\n'; } else { cout << 0 << '\n'; } } }