結果
問題 |
No.450 ベー君のシャトルラン
|
ユーザー |
|
提出日時 | 2017-08-13 22:43:37 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 194 bytes |
コンパイル時間 | 1,239 ms |
コンパイル使用メモリ | 157,272 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-13 09:20:18 |
合計ジャッジ時間 | 2,157 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 WA * 6 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { double vl, vr, d, w; cin >> vl >> vr >> d >> w; double ans = d / (vl + vr) * w; cout << ans << endl; return 0; }