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 D = b * b - 4 * a * c;
if (D >= 0) {
System.out.printf("%.1f\n", ((int)10*((-b+Math.pow(D,0.5))/2*a))/10);
}
else if(D<0){
System.out.println("complex");
}
}
}
에서 말 그대로 어디가 틀렸는지 모르겠네요...ㅠㅠ