結果
| 問題 |
No.450 ベー君のシャトルラン
|
| ユーザー |
taba
|
| 提出日時 | 2017-05-18 08:55:01 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 320 bytes |
| コンパイル時間 | 871 ms |
| コンパイル使用メモリ | 107,292 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-18 18:37:16 |
| 合計ジャッジ時間 | 1,650 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | WA * 20 |
ソースコード
#include <cstdio>
#include <cstring>
#include <cmath>
#include <random>
#include <vector>
#include <algorithm>
#include <array>
#include <functional>
#include <utility>
#include <regex>
using namespace std;
int main(){
int v1,v2,d,w;
-scanf("%d%d%d%d",&v1,&v2,&d,&w);
printf("%.32lf\n",w*d/(v1+v2+0.0));
return 0;
}
taba