結果

問題 No.450 ベー君のシャトルラン
ユーザー fal_rnd
提出日時 2016-12-01 23:13:32
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 247 bytes
コンパイル時間 1,934 ms
コンパイル使用メモリ 74,420 KB
実行使用メモリ 54,424 KB
最終ジャッジ日時 2024-11-27 16:28:21
合計ジャッジ時間 5,709 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

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