|
|
back to boardWhat is it?!?!?! As far as I know the first test of each problem is the test from the statement. This is my sollution. import java.util.Locale; import java.util.Scanner; public class t1582 { public static void main(String[] args) { Locale.setDefault(Locale.US); Scanner in = new Scanner(System.in); double k1 = in.nextDouble(), k2 = in.nextDouble(), k3 = in.nextDouble(); System.out.print(Math.round(1000.0/(k2/k3+k2/k1+1)*k2)); } } On my PC on the first ans second test the answer is right. But I get WA on 1 test!!!! What is it!!! May be something with Java.... Re: What is it?!?!?! It was Java problem, 'cause just few minute ago the previous sollution was AC. |
|
|