|
|
back to boardimport java.util.Scanner; public class root { public static void main(String[]args){ Scanner in = new Scanner(System.in); long a = in.nextLong(); long b = in.nextLong(); long c = in.nextLong(); long d = in.nextLong();
System.out.printf("%.4f \n",Math.sqrt(d)); System.out.printf("%.4f \n",Math.sqrt(c)); System.out.printf("%.4f \n",Math.sqrt(b)); System.out.printf("%.4f \n",Math.sqrt(a)); } } I get the correct answer in java compiler but it can't accept. Please advise me about this. Edited by author 21.02.2009 10:56 The number of Ai is not necessarily 4 |
|
|