結果

問題 No.450 ベー君のシャトルラン
ユーザー KKT89KKT89
提出日時 2020-10-14 20:22:55
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 1,740 ms
コンパイル使用メモリ 190,832 KB
最終ジャッジ日時 2025-01-15 07:17:36
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    double a,b,c,d; cin >> a >> b >> c >> d;
    printf("%.9f\n",c/(a+b)*d);
}
0