import java.util.*; public class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); int a=cin.nextInt(); int b=cin.nextInt(); int c=cin.nextInt(); int d=b*b-4*a*c; System.out.print(String.format("%.2f", ((-1*b)+Math.sqrt(d))/2*a)+" "); System.out.println(String.format("%.2f", ((-1*b)-Math.sqrt(d))/2*a)); } }
0.0分
1 人评分