結果
| 問題 | No.450 ベー君のシャトルラン |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-26 00:56:51 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 203µs | |
| コード長 | 252 bytes |
| 記録 | |
| コンパイル時間 | 318 ms |
| コンパイル使用メモリ | 78,940 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-09 04:15:53 |
| 合計ジャッジ時間 | 1,931 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <iostream>
#include <iomanip>
int main() {
long vr, vl;
long d;
long w;
double s;
std::cin >> vr >> vl >> d >> w;
s = (double)d / (vr + vl);
std::cout << std::fixed << std::setprecision(7) <<w * s << std::endl;
}