結果

問題 No.450 ベー君のシャトルラン
ユーザー arrows
提出日時 2017-01-22 16:59:48
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 188 bytes
コンパイル時間 506 ms
コンパイル使用メモリ 62,464 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-23 05:34:23
合計ジャッジ時間 1,177 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdio>

using namespace std;

int main()
{
    double vl, vr, d, w;
    cin >> vl >> vr >> d >> w;
    printf("%.15f\n", d * w / (vl + vr));
    return 0;
}
0