結果
| 問題 | No.450 ベー君のシャトルラン |
| コンテスト | |
| ユーザー |
samplelpmas
|
| 提出日時 | 2017-05-09 14:00:11 |
| 言語 | Java (openjdk 27.0.1.0.3 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 86 ms / 2,000 ms |
| + 511µs | |
| コード長 | 329 bytes |
| 記録 | |
| コンパイル時間 | 1,482 ms |
| コンパイル使用メモリ | 84,568 KB |
| 実行使用メモリ | 46,804 KB |
| 最終ジャッジ日時 | 2026-10-13 00:27:38 |
| 合計ジャッジ時間 | 5,062 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
import java.util.Scanner;
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();
System.out.println((double) d / (vl + vr) * w);
}
}
samplelpmas