#include #include int main() { long long int a, b, c; scanf("%lld%lld%lld", &a, &b, &c); if (a == 0) { if (b == 0) { if (c == 0) printf("-1\n"); else printf("0\n"); } else printf("1\n%.20lf\n", (double)((long double)c / (long double)b)); } else { if (a < 0) { a = -a; b = -b; c = -c; } long double ta(a), tb(b), tc(c); if (b * b - 4 * a * c > 0) printf("2\n%.20lf\n%.20lf\n", (double) (-tb - sqrt(tb * tb - 4 * ta * tc))/ (ta * 2), (double) (-tb + sqrt(tb * tb - 4 * ta * tc))/ (ta * 2)); else if (b * b - 4 * a * c < 0) printf("0\n"); else printf("1\n%.20lf\n", (double) -tb / (ta * 2)); } }