結果
| 問題 | No.450 ベー君のシャトルラン |
| コンテスト | |
| ユーザー |
kohaku_kohaku
|
| 提出日時 | 2016-12-02 15:51:45 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 2,000 ms |
| コード長 | 357 bytes |
| 記録 | |
| コンパイル時間 | 1,527 ms |
| コンパイル使用メモリ | 82,128 KB |
| 実行使用メモリ | 41,856 KB |
| 最終ジャッジ日時 | 2026-05-21 22:48:41 |
| 合計ジャッジ時間 | 4,033 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int Vl = sc.nextInt();
int Vr = sc.nextInt();
int d = sc.nextInt();
int w = sc.nextInt();
double t = (double)d/(Vl+Vr);
double ans = t*w;
System.out.println(ans);
}
}
kohaku_kohaku