import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
double a=input.nextDouble();
double b=input.nextDouble();
double c=input.nextDouble();
double x1= (-b + Math.sqrt(b * b - 4 * a * c)) / (2 * a);
double x2= (-b - Math.sqrt(b * b - 4 * a * c)) / (2 * a);
if(x1>x2)
System.out.printf("%.2f %.2f",x1,x2);
else if(x1<x2)
System.out.printf("%.2f %.2f",x2,x1);
else
System.out.printf("%.2f",x1);
}
}
0.0分
0 人评分