結果

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

ソースコード

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;
    cout<<ans<<endl;

}
0