#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)c / b); } else { 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)); } }