結果

問題 No.450 ベー君のシャトルラン
ユーザー fal_rnd
提出日時 2016-12-01 23:14:23
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 1,732 ms
コンパイル使用メモリ 74,232 KB
実行使用メモリ 52,276 KB
最終ジャッジ日時 2024-11-27 16:28:38
合計ジャッジ時間 5,205 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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\n",d*w*1.0/(vl+vr));
	}
} 
0