結果

問題 No.450 ベー君のシャトルラン
ユーザー kyabariakyabaria
提出日時 2018-09-15 15:42:49
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 1,589 ms
コンパイル使用メモリ 164,052 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-18 05:34:13
合計ジャッジ時間 2,399 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
typedef  long long ll;
#define INF 1000000000
using namespace std;
#define N 1000000
#define MOD 1000000007
int main(void){
    double vr,vl,d,w,t,ans;
    cin>>vl>>vr>>d>>w;
    t=(d/(vl+vr));
    ans=t*w;
    printf("%lf",ans);

}
0