結果

問題 No.450 ベー君のシャトルラン
ユーザー fal_rndfal_rnd
提出日時 2016-12-01 23:15:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 1,779 ms
コンパイル使用メモリ 71,368 KB
実行使用メモリ 57,596 KB
最終ジャッジ日時 2023-08-18 11:45:12
合計ジャッジ時間 5,621 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,784 KB
testcase_01 AC 116 ms
55,680 KB
testcase_02 AC 125 ms
55,480 KB
testcase_03 AC 123 ms
55,684 KB
testcase_04 AC 122 ms
54,328 KB
testcase_05 AC 122 ms
55,780 KB
testcase_06 AC 122 ms
55,420 KB
testcase_07 AC 124 ms
55,552 KB
testcase_08 AC 121 ms
55,696 KB
testcase_09 AC 122 ms
55,740 KB
testcase_10 AC 122 ms
55,584 KB
testcase_11 AC 124 ms
55,836 KB
testcase_12 AC 116 ms
57,596 KB
testcase_13 AC 123 ms
55,640 KB
testcase_14 AC 122 ms
55,616 KB
testcase_15 AC 116 ms
55,816 KB
testcase_16 AC 120 ms
55,536 KB
testcase_17 AC 121 ms
55,584 KB
testcase_18 AC 120 ms
55,676 KB
testcase_19 AC 119 ms
55,840 KB
testcase_20 AC 120 ms
55,692 KB
testcase_21 AC 124 ms
55,864 KB
testcase_22 AC 120 ms
55,928 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package src;

import java.util.*;
class B{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		long
			vl=s.nextInt(),
			vr=s.nextInt(),
			d =s.nextInt(),
			w =s.nextInt();
		System.out.printf("%.10f\n",d*w*1.0/(vl+vr));
	}
}
0