#include #include #include #include #include #include #include #include #include #include #include #include #include #include #pragma warning(disable:4996) typedef long long ll; #define MIN(a, b) ((a)>(b)? (b): (a)) #define MAX(a, b) ((a)<(b)? (b): (a)) #define LINF 9223300000000000000 #define INF 2140000000 const long long MOD = 1000000007; //const long long MOD = 998244353; using namespace std; int main(int argc, char* argv[]) { ll 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"); printf("%.16Lf\n", (long double)(-c)/b); } } else { const long double eps=1e-10; long double d=(long double)b*b-(long double)4*a*c; if(d<-eps) { printf("0\n"); } else if(fabs(d)