B - Equation
//训练6.2-B-Equation
import java.util.Arrays;
import java.util.Scanner;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
double A,B,C,x1,x2;
int count=0;
Scanner scan=new Scanner(System.in);
A=scan.nextInt();
B=scan.nextInt();
C=scan.nextInt();
double p=B*B-4*A*C;
double i=Math.sqrt(B*B-4*A*C);
if(p>0){
count=2;
x1=(-B+i)/(2*A);
x2=(-B-i)/(2*A);
System.out.printf("%d\n%+.10f\n%+.10f\n",count,x2,x1);
}
else if(p==0){
count=1;
x1=x2=(-B+i)/(2*A);
System.out.printf("%d%+.10f\n", count,x1);
}
else if(p<0){
System.out.print("0");
}
else{
System.out.print("-1");
}
}
public static void main(String[] args){
double A,B,C,x1,x2;
int count=0;
Scanner scan=new Scanner(System.in);
A=scan.nextInt();
B=scan.nextInt();
C=scan.nextInt();
double p=B*B-4*A*C;
double i=Math.sqrt(B*B-4*A*C);
if(p>0){
count=2;
x1=(-B+i)/(2*A);
x2=(-B-i)/(2*A);
System.out.printf("%d\n%+.10f\n%+.10f\n",count,x2,x1);
}
else if(p==0){
count=1;
x1=x2=(-B+i)/(2*A);
System.out.printf("%d%+.10f\n", count,x1);
}
else if(p<0){
System.out.print("0");
}
else{
System.out.print("-1");
}
}